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

Re: [git-gui] Amending doesn't preserve timestamp

From
IBIgor Djordjevic BugA <igor.d.djordjevic@gmail.com>
Date
Feb 12, 2017, 21:33 UTC
Message-ID
<e8f63afd-18c5-0605-32f3-72a9c5650f84@gmail.com>
In-Reply-To
<CAEPqvoxM9_Ku-1YgwNiqearUBaaYbAJcehuSwZYNNfJLQNH1_g@mail.gmail.com>
On 12/02/2017 21:50, Juraj wrote:
Show 7 quoted lines
> I've just noticed that amending a commit from git-gui uses the time of
> amending as the new timestamp of the commit, whereas git commit
> --amend preserves the original timestamp. Maybe the two should work
> the same, whatever it is decided to be the standard behavior.
> 
> Juraj
> 
Hi Juraj,

Just to report that it seems to work as expected on my end...? Amending through both command line and git-gui preserves author date and updates commiter date.

git version 2.11.1.windows.1 git-gui version 0.21.GITGUI Tcl/Tk version 8.6.6

Regards, BugA
Previous: JurajNext: Juraj
Message 2 of 7 in “[git-gui] Amending doesn't preserve timestamp”
  1. JurajFeb 12, 2017
  2. Igor Djordjevic BugAFeb 12, 2017
  3. JurajFeb 12, 2017
  4. Igor Djordjevic BugAFeb 12, 2017
  5. Juraj OršulićMar 23, 2017
  6. Igor DjordjevicMar 23, 2017
  7. Juraj OršulićMar 24, 2017

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.