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

[PATCH] fetch: Add output for the not fast forward case

From
SBSanti Béjar <sbejar@gmail.com>
Date
Sep 28, 2006, 22:15 UTC
Message-ID
<873babbptl.fsf@gmail.com>
Signed-off-by: Santi Béjar <sbejar@gmail.com>
---

This patch follows the notation of the other mail, but for the not-fast-forward case I think it makes more sense to use the '...' notation. If you don't like it, just use:

+		echo >&2 "  from $local to $2"
 git-fetch.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-fetch.sh b/git-fetch.sh
index 1bc6108..15d6800 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -190,6 +190,7 @@ fast_forward_local () {
 		;;
 	    esac || {
 		echo >&2 "* $1: does not fast forward to $3;"
+		echo >&2 "  $local...$2"
 		case ",$force,$single_force," in
 		*,t,*)
 			echo >&2 "  forcing update."
-- 
1.4.2.1.g5a0f
Next: Junio C Hamano
Message 1 of 2 in “fetch: Add output for the not fast forward case”
  1. fetch: Add output for the not fast forward caseSanti Béjar, Sep 28, 2006
  2. Junio C HamanoSep 29, 2006

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.