Code

git-fetch: print the new and old ref when fast-forwarding
authorLukas Sandström <lukass@etek.chalmers.se>
Sat, 25 Feb 2006 11:20:13 +0000 (12:20 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 25 Feb 2006 20:03:18 +0000 (12:03 -0800)
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh

index de4f011e26c3d0b2012ff44692757ca0c9984f16..0346d4a45ca6a67bc0f6521dea799bf37cbb7cf1 100755 (executable)
@@ -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"
                ;;
            *)