projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b6629
)
pull: remove extra space from reflog message
author
Ori Avtalion
<ori@avtalion.name>
Fri, 29 Jul 2011 07:19:26 +0000
(10:19 +0300)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Aug 2011 23:05:44 +0000
(16:05 -0700)
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>
git-pull.sh
patch
|
blob
|
history
diff --git
a/git-pull.sh
b/git-pull.sh
index fb9e2df9312e96ecf8ad5ab2bde4b74b979fe02e..28441aca8ac1129dacad10d4bd040df64e34d134 100755
(executable)
--- 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