{"thread":{"id":"44185","subject":"[PATCH] blame: use DEFAULT_ABBREV macro","startedAt":"2016-09-28T21:57:43Z","lastAt":"2016-09-28T21:57:43Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"302847","messageId":"xmqq4m4zit68.fsf@gitster.mtv.corp.google.com","threadId":"44185","inReplyTo":null,"subject":"[PATCH] blame: use DEFAULT_ABBREV macro","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-09-28T21:57:35Z","receivedAt":"2016-09-28T21:57:43Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"This does not make any practical difference in today's code, but\neverybody else accesses the default abbreviation length via the\nDEFAULT_ABBREV macro.  Make sure this oddball codepath does not\nstray from the convention.\n\nSigned-off-by: Junio C Hamano <gitster@pobox.com>\n---\n builtin/blame.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/builtin/blame.c b/builtin/blame.c\nindex a5bbf91..f618392 100644\n--- a/builtin/blame.c\n+++ b/builtin/blame.c\n@@ -2111,7 +2111,7 @@ static void find_alignment(struct scoreboard *sb, int *option)\n \tunsigned largest_score = 0;\n \tstruct blame_entry *e;\n \tint compute_auto_abbrev = (abbrev < 0);\n-\tint auto_abbrev = default_abbrev;\n+\tint auto_abbrev = DEFAULT_ABBREV;\n \n \tfor (e = sb->ent; e; e = e->next) {\n \t\tstruct origin *suspect = e->suspect;\n-- \n2.10.0-582-gfa57e49\n\n"}]}