summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-28 14:56:00 -0700
committerJunio C Hamano <gitster@pobox.com>2016-09-28 14:56:00 -0700
commit5293284b4d92cc1029ae8355b7e1330fa7b451a6 (patch)
tree01d0fe1dee97d5493bedc29dc6b139ee3d5ebcb1
parent7c0304af62fcb777faac6eebd8c242d3de4f605d (diff)
downloadgit-jc/blame-abbrev.tar.gz
blame: use DEFAULT_ABBREV macrojc/blame-abbrev
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>
-rw-r--r--builtin/blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/blame.c b/builtin/blame.c
index a5bbf91e49..f618392e55 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -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;