blame: use DEFAULT_ABBREV macro
This does not make any practical difference in today's code, but everybody else accesses the default abbreviation length via the DEFAULT_ABBREV macro. Make sure this oddball codepath does not stray from the convention. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Sep 28, 2016 at 14:56 UTC
5293284b4d92cc1029ae8355b7e1330fa7b451a6
1 file changed
+1
-1
builtin/blame.c
+1
-1
@@ -2111,7 +2111,7 @@ static void find_alignment(struct scoreboard *sb, int *option)
2111
unsigned largest_score = 0;
2112
struct blame_entry *e;
2113
int compute_auto_abbrev = (abbrev < 0);
2114
- int auto_abbrev = default_abbrev;
2114
+ int auto_abbrev = DEFAULT_ABBREV;
2115
2116
for (e = sb->ent; e; e = e->next) {
2117
struct origin *suspect = e->suspect;