From: Ori Avtalion Date: Fri, 29 Jul 2011 07:19:26 +0000 (+0300) Subject: pull: remove extra space from reflog message X-Git-Tag: v1.7.6.1~16^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c98d1e4148ec32cac3318ca96dd262d27b9f8a03;p=git.git pull: remove extra space from reflog message When executing "git pull" with no arguments, the reflog message was: "pull : Fast-forward" Signed-off-by: Ori Avtalion Signed-off-by: Junio C Hamano --- diff --git a/git-pull.sh b/git-pull.sh index fb9e2df93..28441aca8 100755 --- a/git-pull.sh +++ b/git-pull.sh @@ -9,7 +9,7 @@ LONG_USAGE='Fetch one or more remote refs and merge it/them into the current HEA SUBDIRECTORY_OK=Yes OPTIONS_SPEC= . git-sh-setup -set_reflog_action "pull $*" +set_reflog_action "pull${1+ $*}" require_work_tree cd_to_toplevel