Git development
 help / color / mirror / Atom feed
* [PATCH] git-fetch: print the new and old ref when fast-forwarding
@ 2006-02-25 11:20 Lukas Sandström
  2006-02-25 20:08 ` Johannes Schindelin
  0 siblings, 1 reply; 3+ messages in thread
From: Lukas Sandström @ 2006-02-25 11:20 UTC (permalink / raw)
  To: Git Mailing List, Junio C Hamano

Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>

---
This is useful when you check out new changes with gitk.
Just copy/paste the old ref into gitk from the terminal.

 git-fetch.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

78f2844c17bb8627e84389e3026906d074c43363
diff --git a/git-fetch.sh b/git-fetch.sh
index fcc24f8..a3e2a34 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -164,6 +164,7 @@ fast_forward_local () {
 		;;
 	    *,$local)
 		echo >&2 "* $1: fast forward to $3"
+		echo >&2 "  from $local to $2"
 		git-update-ref "$1" "$2" "$local"
 		;;
 	    *)
-- 
1.2.3.gc412

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-25 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 11:20 [PATCH] git-fetch: print the new and old ref when fast-forwarding Lukas Sandström
2006-02-25 20:08 ` Johannes Schindelin
2006-02-25 20:53   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox