From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 75403@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#75403] [PATCH] gnu: Add emacs-magit-stgit.
Date: Mon, 6 Jan 2025 14:00:32 +0100 [thread overview]
Message-ID: <20250106130035.15884-1-ngraves@ngraves.fr> (raw)
* gnu/packages/emacs-xyz.scm (emacs-magit-stgit): New variable.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index bdc4cd1ebe..e615814f3a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1882,6 +1882,34 @@ (define-public emacs-magit
rebasing, and other common Git operations.")
(license license:gpl3+)))
+(define-public emacs-magit-stgit
+ (let ((commit "51168b7438dfb5ca6b9239b8564397cc0cc6e798")
+ (revision "0"))
+ (package
+ (name "emacs-magit-stgit")
+ (version (git-version "2.2.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/stacked-git/magit-stgit.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1z2dhc1m510iyrks5lxp3jlqg4n7qwwirbmxg4c4ll0xngfhnalc"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-magit emacs-transient))
+ (home-page "https://github.com/stacked-git/magit-stgit")
+ (synopsis "StGit extension for Magit")
+ (description
+ "This package provides basic support for @code{stgit} in
+@code{emacs-magit}. When @code{magit-stgit-mode} is turned on, the
+current patch series is displayed in the status buffer. While point is on a
+patch the changes it introduces can be shown using @code{RET}, it can be selected
+as the current patch using @code{a}, and it can be discarded using @code{k}. Other
+@code{StGit} commands are available from the @code{StGit} transient on @code{/}.")
+ (license license:gpl3+))))
+
(define-public emacs-magit-svn
(package
(name "emacs-magit-svn")
--
2.47.1
reply other threads:[~2025-01-06 13:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250106130035.15884-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=75403@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).