git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
SOSergei Organov <osv@javad.com>
Date
Feb 7, 2008, 13:23 UTC
Message-ID
<87prv8294k.fsf@osv.gnss.ru>
In-Reply-To
<87ve51orq8.fsf@wine.dyndns.org>
Alexandre Julliard <julliard@winehq.org> 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.
Previous: Alexandre JulliardNext: David Kastrup
Message 2 of 3 in “git.el: Added a command to amend a commit.”
  1. 2/4 git.el: Added a command to amend a commit.Alexandre Julliard, Feb 7, 2008
  2. Sergei OrganovFeb 7, 2008
  3. David KastrupFeb 7, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.