summaryrefslogtreecommitdiff
path: root/git-fetch.sh
diff options
context:
space:
mode:
authorLukas Sandström <lukass@etek.chalmers.se>2006-02-25 11:20:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-25 20:03:18 (GMT)
commit9d7f73d43fa49d0d2f5a8cfcce9d659e8ad2d265 (patch)
treec5b1d6b950c58b22096cad2effb620d85c42ba7b /git-fetch.sh
parent8fcf1ad9c68e15d881194c8544e7c11d33529c2b (diff)
downloadgit-9d7f73d43fa49d0d2f5a8cfcce9d659e8ad2d265.zip
git-9d7f73d43fa49d0d2f5a8cfcce9d659e8ad2d265.tar.gz
git-9d7f73d43fa49d0d2f5a8cfcce9d659e8ad2d265.tar.bz2
git-fetch: print the new and old ref when fast-forwarding
Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-fetch.sh')
-rwxr-xr-xgit-fetch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-fetch.sh b/git-fetch.sh
index de4f011..0346d4a 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"
;;
*)