diff options
author | Ori Avtalion <ori@avtalion.name> | 2011-07-29 09:19:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-02 01:05:44 +0200 |
commit | c98d1e4148ec32cac3318ca96dd262d27b9f8a03 (patch) | |
tree | 1be6ff686161f19789deb17a7cff667daf52b596 /git-pull.sh | |
parent | Break down no-lstat() condition checks in verify_uptodate() (diff) | |
download | git-c98d1e4148ec32cac3318ca96dd262d27b9f8a03.tar.xz git-c98d1e4148ec32cac3318ca96dd262d27b9f8a03.zip |
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>
Diffstat (limited to 'git-pull.sh')
-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 |