git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] pull: remove extra space from reflog message

From
Ori Avtalion <ori@avtalion.name>
Date
Jul 29, 2011, 07:19 UTC
Message-ID
<4e3260f8.41d0e30a.741c.51cb@mx.google.com>
When executing "git pull" with no arguments, the reflog message was:
  "pull : Fast-forward"
Signed-off-by: Ori Avtalion <ori@avtalion.name>
---

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
 
-- 
1.7.4.1
Next: Junio C Hamano
Message 1 of 2 in “pull: remove extra space from reflog message”
  1. pull: remove extra space from reflog messageOri Avtalion, Jul 29, 2011
  2. Junio C HamanoAug 1, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.