Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: [IGNORETHIS/PATCH] Choosing the sha1 prefix of your commits

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:52:18

Kyle Moffett [off-list ref] writes:
Heh, there's one other practical downside I can think of...

If you create a bunch of commits with the same 8-hex-character prefix
then suddenly the "git describe" logic for using the first 7 commit ID
characters gets a whole lot less useful.
In the sense that you need to cut and paste a lot more characters, you are
correct that it would make it less useful, but if you are talking about
uniqueness, you are mistaken.

The rule is not "using the first 7 hexdigits", but is "using as many
hexdigits to make assure uniqueness, but use at least 7".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help