git-gui: Do not reset author details on amend
commit7e71adc77fb08021235006e88f255e5e40d25662
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>
Mon, 11 Apr 2016 06:57:39 +0000 (11 09:57 +0300)
committerOrgad Shaneh <orgad.shaneh@audiocodes.com>
Thu, 14 Apr 2016 14:38:09 +0000 (14 17:38 +0300)
tree688238378d3936b8f7f9987d8ed48e68f6c106d3
parent82b2cab317863eb6322386157f73b0e021b72ba2
git-gui: Do not reset author details on amend

git commit --amend preserves the author details unless --reset-author is
given.

git-gui discards the author details on amend.

Fix by reading the author details along with the commit message, and
setting the appropriate environment variables required for preserving
them.

Reported long ago in the mailing list[1].

[1] http://article.gmane.org/gmane.comp.version-control.git/243921

Signed-off-by: Orgad Shaneh <orgad.shaneh@audiocodes.com>
lib/commit.tcl