projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f7780
)
fetch: do not report "same" unless -verbose.
author
Junio C Hamano
<junkio@cox.net>
Sun, 4 Jun 2006 06:44:40 +0000
(23:44 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 4 Jun 2006 06:44:40 +0000
(23:44 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh
patch
|
blob
|
history
diff --git
a/git-fetch.sh
b/git-fetch.sh
index
69bd810
..
48818f8
100755
(executable)
--- a/
git-fetch.sh
+++ b/
git-fetch.sh
@@
-166,7
+166,10
@@
fast_forward_local () {
mb=$(git-merge-base "$local" "$2") &&
case "$2,$mb" in
$local,*)
- echo >&2 "* $1: same as $3"
+ if test -n "$verbose"
+ then
+ echo >&2 "* $1: same as $3"
+ fi
;;
*,$local)
echo >&2 "* $1: fast forward to $3"