Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] pull: remove extra space from reflog message

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:43

Ori Avtalion [off-list ref] writes:
quoted hunk
When executing "git pull" with no arguments, the reflog message was:
  "pull : Fast-forward"

Signed-off-by: Ori Avtalion <redacted>
---

This is a correction of my earlier patch, based on the suggestion
by Andreas Schwab

 git-pull.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-pull.sh b/git-pull.sh
index a10b129..eec3a07 100755
--- a/git-pull.sh
+++ b/git-pull.sh
@@ -10,7 +10,7 @@ SUBDIRECTORY_OK=Yes
 OPTIONS_SPEC=
 . git-sh-setup
 . git-sh-i18n
-set_reflog_action "pull $*"
+set_reflog_action "pull${1+ $*}"
 require_work_tree
 cd_to_toplevel
Thanks, will queue.

I wonder if we have any test in the contents of the reflog messages,
though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help