pull: set reflog message
commit41fca0989e7ebf3e809e08840c89f44021aa1f2c
authorPaul Tan <pyokagan@gmail.com>
Thu, 18 Jun 2015 10:54:07 +0000 (18 18:54 +0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jun 2015 20:17:39 +0000 (18 13:17 -0700)
treed2d751630211913629f8a11c688eeb747ffe4f6e
parent49ec402d52dc8f8e55e62537c95766b623e63d6b
pull: set reflog message

f947413 (Use GIT_REFLOG_ACTION environment variable instead.,
2006-12-28) established git-pull's method for setting the reflog
message, which is to set the environment variable GIT_REFLOG_ACTION to
the evaluation of "pull${1+ $*}" if it has not already been set.

Re-implement this behavior.

Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pull.c