Re: Difficulties in advertising a new branch to git newbies
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 6, 2007, 07:46 UTC
- Message-ID
- <7vy7nbiv90.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070206072820.GC23866@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> sha1_name: match refs in 'refs/remotes/*/%s' > > If no other matches are found for a ref, then look for it in every defined > remote. This will not complain of ambiguity, since we only do the lookup if > no other ref matches.
I think the abstraction is wrong -- why do you even need to iterate over .git/remotes (and .git/config remote.*) when the only thing this cares about is refs under refs/remotes/* hierarchy?
Or am I missing something blatantly obvious?