summaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorOri Avtalion <ori@avtalion.name>2011-07-29 07:19:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-08-01 23:05:44 (GMT)
commitc98d1e4148ec32cac3318ca96dd262d27b9f8a03 (patch)
tree1be6ff686161f19789deb17a7cff667daf52b596 /git-pull.sh
parentd5b66299040969706dd675c021f4336a26a6cc82 (diff)
downloadgit-c98d1e4148ec32cac3318ca96dd262d27b9f8a03.zip
git-c98d1e4148ec32cac3318ca96dd262d27b9f8a03.tar.gz
git-c98d1e4148ec32cac3318ca96dd262d27b9f8a03.tar.bz2
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 fb9e2df..28441ac 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