commit: use value of GIT_REFLOG_ACTION env variable as reflog message
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 12 Jun 2010 16:05:12 +0000 (18:05 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Jun 2010 16:42:38 +0000 (09:42 -0700)
The environment variable GIT_REFLOG_ACTION was used by git-commit.sh,
but when it was converted to a builtin
(f5bbc3225c4b073a7ff3218164a0c820299bc9c6, Port git commit to C,
Nov 8 2007) this was lost.

Let's use it again as it is more user friendly when reverting or
cherry-picking to see "revert" or "cherry-pick" in the reflog rather
than to just see "commit".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found