summaryrefslogtreecommitdiffstats
path: root/git-pull.sh
diff options
context:
space:
mode:
authorOri Avtalion <ori@avtalion.name>2011-07-29 09:19:26 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-02 01:05:44 +0200
commitc98d1e4148ec32cac3318ca96dd262d27b9f8a03 (patch)
tree1be6ff686161f19789deb17a7cff667daf52b596 /git-pull.sh
parentBreak down no-lstat() condition checks in verify_uptodate() (diff)
downloadgit-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-xgit-pull.sh2
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