Skip to content

Commit 3b01d9a

Browse files
committed
Merge branch 'jc/blame-abbrev'
Almost everybody uses DEFAULT_ABBREV to refer to the default setting for the abbreviation, but "git blame" peeked into underlying variable bypassing the macro for no good reason. * jc/blame-abbrev: blame: use DEFAULT_ABBREV macro
2 parents 8c98a68 + 5293284 commit 3b01d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/blame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ static void find_alignment(struct scoreboard *sb, int *option)
21112111
unsigned largest_score = 0;
21122112
struct blame_entry *e;
21132113
int compute_auto_abbrev = (abbrev < 0);
2114-
int auto_abbrev = default_abbrev;
2114+
int auto_abbrev = DEFAULT_ABBREV;
21152115

21162116
for (e = sb->ent; e; e = e->next) {
21172117
struct origin *suspect = e->suspect;

0 commit comments

Comments
 (0)