Re: [PATCH 2/4] git.el: Added a command to amend a commit.

Subsystems: the rest

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH 2/4] git.el: Added a command to amend a commit.

From: Sergei Organov <hidden>
Date: 2016-06-15 22:44:11

Alexandre Julliard [off-list ref] writes:
It reverts the commit and sets up the status and edit log buffer to
allow making changes and recommitting it. Bound to C-c C-a.
Nice! Doesn't it lack something like this:
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el
index c3c0c45..9ad37a1 100644
--- a/contrib/emacs/git.el
+++ b/contrib/emacs/git.el
@@ -1385,6 +1385,7 @@ Return the list of files that haven't been handled."
     `("Git"
       ["Refresh" git-refresh-status t]
       ["Commit" git-commit-file t]
+      ["Ammend Commit" git-ammend-commit t]
       ("Merge"
 	["Next Unmerged File" git-next-unmerged-file t]
 	["Prev Unmerged File" git-prev-unmerged-file t]

-- Sergei.

Re: [PATCH 2/4] git.el: Added a command to amend a commit.

From: David Kastrup <hidden>
Date: 2016-06-15 22:44:11

Sergei Organov [off-list ref] writes:
quoted hunk
Alexandre Julliard [off-list ref] writes:
quoted
It reverts the commit and sets up the status and edit log buffer to
allow making changes and recommitting it. Bound to C-c C-a.
Nice! Doesn't it lack something like this:
diff --git a/contrib/emacs/git.el b/contrib/emacs/git.el
index c3c0c45..9ad37a1 100644
--- a/contrib/emacs/git.el
+++ b/contrib/emacs/git.el
@@ -1385,6 +1385,7 @@ Return the list of files that haven't been handled."
     `("Git"
       ["Refresh" git-refresh-status t]
       ["Commit" git-commit-file t]
+      ["Ammend Commit" git-ammend-commit t]
       ("Merge"
 	["Next Unmerged File" git-next-unmerged-file t]
 	["Prev Unmerged File" git-prev-unmerged-file t]
"amend", please.

-- 
David Kastrup
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help