diff options
author | Ori Avtalion <ori@avtalion.name> | 2011-07-29 10:19:26 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-01 16:05:44 -0700 |
commit | c98d1e4148ec32cac3318ca96dd262d27b9f8a03 (patch) | |
tree | 1be6ff686161f19789deb17a7cff667daf52b596 | |
parent | d5b66299040969706dd675c021f4336a26a6cc82 (diff) | |
download | git-c98d1e4148ec32cac3318ca96dd262d27b9f8a03.tar.gz |
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 <ori@avtalion.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-pull.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-pull.sh b/git-pull.sh index fb9e2df931..28441aca8a 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 |