summaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorOri Avtalion <ori@avtalion.name>2011-07-29 10:19:26 +0300
committerJunio C Hamano <gitster@pobox.com>2011-08-01 16:05:44 -0700
commitc98d1e4148ec32cac3318ca96dd262d27b9f8a03 (patch)
tree1be6ff686161f19789deb17a7cff667daf52b596 /git-pull.sh
parentd5b66299040969706dd675c021f4336a26a6cc82 (diff)
downloadgit-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>
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