summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-25 09:03:18 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-01-28 08:09:38 (GMT)
commit46a6c2620ba421397eec627b8eb18eb530e694fc (patch)
tree9222e809b0d77ad10e7304073d4c053c7edd9266 /diff.h
parent6b94f1e404afc552e5139c4357331843f5be61ad (diff)
downloadgit-46a6c2620ba421397eec627b8eb18eb530e694fc.zip
git-46a6c2620ba421397eec627b8eb18eb530e694fc.tar.gz
git-46a6c2620ba421397eec627b8eb18eb530e694fc.tar.bz2
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>
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/diff.h b/diff.h
index 5696f2a..122c814 100644
--- a/diff.h
+++ b/diff.h
@@ -88,9 +88,6 @@ extern int diff_setup_done(struct diff_options *);
#define DIFF_PICKAXE_ALL 1
-#define DIFF_DEFAULT_INDEX_ABBREV 7 /* hex digits */
-#define DIFF_DEFAULT_ABBREV 7 /* hex digits */
-
extern void diffcore_std(struct diff_options *);
extern void diffcore_std_no_resolve(struct diff_options *);