Re: [PATCH] gitweb: recognize six digit abbreviated SHA1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Tuesday, January 13, 2009 - 1:26 am

Sam Vilain <sam@vilain.net> writes:


When people give an abbreviated object name, 99% of the time they mean
commits (and "index deadbeef..acebead" in a patch is a good place to pick
blob object names from, which would be what the 99% of the remaining 1%
would name), so making sure it is a commit or a blob would be a very
sensible thing to do.

Unfortunately, you fundamentally cannot do this without taking a
performance hit of actually opening the object.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] gitweb: recognize six digit abbreviated SHA1, Anders Melchiorsen, (Mon Jan 12, 5:04 pm)
Re: [PATCH] gitweb: recognize six digit abbreviated SHA1, Anders Melchiorsen, (Mon Jan 12, 5:08 pm)
Re: [PATCH] gitweb: recognize six digit abbreviated SHA1, Junio C Hamano, (Tue Jan 13, 1:26 am)