Re: git-fetching from a big repository is slow
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 15, 2006, 00:38 UTC
- Message-ID
- <7vslfixaat.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0612150015330.3635@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> If I read builtin-show-ref.c correctly, it _always_ calls > for_each_ref(show_ref, NULL);
Ok, that settles it. If there is a reason to have --verify, we should really special case it. There is no point in looping, because verify does not do the tail match (which could cause ambiguity) and its answer should be either "yes it is there" or "no there is no such ref".