[PATCH] gnu: Add emacs-magit-stgit.

  • Open
  • quality assurance status badge
Details
One participant
  • Nicolas Graves
Owner
unassigned
Submitted by
Nicolas Graves
Severity
normal

Debbugs page

N
N
Nicolas Graves wrote 4 days ago
(address . guix-patches@gnu.org)(name . Nicolas Graves)(address . ngraves@ngraves.fr)
20250106130035.15884-1-ngraves@ngraves.fr
* gnu/packages/emacs-xyz.scm (emacs-magit-stgit): New variable.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 75403@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75403
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch