author | Junio C Hamano <junkio@cox.net> | |
Wed, 25 Jan 2006 09:03:18 +0000 (01:03 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 28 Jan 2006 08:09:38 +0000 (00:09 -0800) | ||
commit | 46a6c2620ba421397eec627b8eb18eb530e694fc | |
tree | 9222e809b0d77ad10e7304073d4c053c7edd9266 | tree | snapshot |
parent | 6b94f1e404afc552e5139c4357331843f5be61ad | commit | diff |
abbrev cleanup: use symbolic constants
The minimum length of abbreviated object name was hardcoded in
different places to be 4, risking inconsistencies in the future.
Also there were three different "default abbreviation
precision". Use two C preprocessor symbols to clean up this
mess.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The minimum length of abbreviated object name was hardcoded in
different places to be 4, risking inconsistencies in the future.
Also there were three different "default abbreviation
precision". Use two C preprocessor symbols to clean up this
mess.
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h | diff | blob | history | |
describe.c | diff | blob | history | |
diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
sha1_name.c | diff | blob | history |