* More verbose "git fetch"?
@ 2006-06-04 1:11 Linus Torvalds
2006-06-04 5:28 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2006-06-04 1:11 UTC (permalink / raw)
To: Junio C Hamano, Git Mailing List
Is it just me who has been getting less accepting, or has "git fetch"
gotten more verbose?
Has it always spit out those annoying
xyz: same as branch 'xyz' of so-and-so-repo
even without "-v"? I thought I killed them at some point, but
either they're back, or I'm just confused.
Linus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: More verbose "git fetch"?
2006-06-04 1:11 More verbose "git fetch"? Linus Torvalds
@ 2006-06-04 5:28 ` Junio C Hamano
2006-06-04 6:25 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2006-06-04 5:28 UTC (permalink / raw)
To: git
Linus Torvalds <torvalds@osdl.org> writes:
> Has it always spit out those annoying
>
> xyz: same as branch 'xyz' of so-and-so-repo
>
> even without "-v"? I thought I killed them at some point, but
> either they're back, or I'm just confused.
"same" is protected with [ "$verboase" ] only on the tag side
but not on the head side, which I think is a bug. Will fix.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: More verbose "git fetch"?
2006-06-04 5:28 ` Junio C Hamano
@ 2006-06-04 6:25 ` Junio C Hamano
0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2006-06-04 6:25 UTC (permalink / raw)
To: Linus Torvalds; +Cc: git
Junio C Hamano <junkio@cox.net> writes:
> Linus Torvalds <torvalds@osdl.org> writes:
>
>> Has it always spit out those annoying
>>
>> xyz: same as branch 'xyz' of so-and-so-repo
>>
>> even without "-v"? I thought I killed them at some point, but
>> either they're back, or I'm just confused.
>
> "same" is protected with [ "$verboase" ] only on the tag side
> but not on the head side, which I think is a bug. Will fix.
...like this.
---
diff --git a/git-fetch.sh b/git-fetch.sh
index 69bd810..6ee755c 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -166,7 +166,7 @@ fast_forward_local () {
mb=$(git-merge-base "$local" "$2") &&
case "$2,$mb" in
$local,*)
- echo >&2 "* $1: same as $3"
+ [ "$verbose" ] && echo >&2 "* $1: same as $3"
;;
*,$local)
echo >&2 "* $1: fast forward to $3"
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-04 6:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-04 1:11 More verbose "git fetch"? Linus Torvalds
2006-06-04 5:28 ` Junio C Hamano
2006-06-04 6:25 ` 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