mirror of
https://github.com/git/git.git
synced 2024-11-28 20:44:04 +08:00
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>
This commit is contained in:
parent
7c0304af62
commit
5293284b4d
@ -2111,7 +2111,7 @@ static void find_alignment(struct scoreboard *sb, int *option)
|
||||
unsigned largest_score = 0;
|
||||
struct blame_entry *e;
|
||||
int compute_auto_abbrev = (abbrev < 0);
|
||||
int auto_abbrev = default_abbrev;
|
||||
int auto_abbrev = DEFAULT_ABBREV;
|
||||
|
||||
for (e = sb->ent; e; e = e->next) {
|
||||
struct origin *suspect = e->suspect;
|
||||
|
Loading…
Reference in New Issue
Block a user