Re: [PATCH] sha1_object_info(): be consistent with read_sha1_file()
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 28, 2006, 01:05 UTC
- Message-ID
- <7vslg4crd5.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.63.0611280016150.30004@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> We used to try loose objects first with sha1_object_info(), but packed > objects first with read_sha1_file(). Now, prefer packed objects over loose > ones with sha1_object_info(), too.
Well caught. It appears this inconsistent order was from the day one when we started using the packed git, and I forgot to swap them when I did ab90ea5 to swap the reading side.
Thanks.