author | Junio C Hamano <junkio@cox.net> | |
Fri, 10 Feb 2006 09:51:12 +0000 (01:51 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 10 Feb 2006 09:51:12 +0000 (01:51 -0800) | ||
commit | 297a1aadbe22c978dca60d6512e5c851ebc6688c | |
tree | 496caac78acc8110d035162cc74b782f980ffd4d | tree | snapshot |
parent | 0a798076b8d1a4a31bf2b24c564e2a99fd1c43a1 | commit | diff |
find_unique_abbrev() simplification.
Earlier it did not grok the 0{40} SHA1 very well, but what it
needed to do was to find the shortest 0{N} that is not used as a
valid object name to be consistent with the way names of valid
objects are abbreviated. This makes some users simpler.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Earlier it did not grok the 0{40} SHA1 very well, but what it
needed to do was to find the shortest 0{N} that is not used as a
valid object name to be consistent with the way names of valid
objects are abbreviated. This makes some users simpler.
Signed-off-by: Junio C Hamano <junkio@cox.net>
combine-diff.c | diff | blob | history | |
diff.c | diff | blob | history | |
sha1_name.c | diff | blob | history |