Subject: Re: [PATCH 4/4] core.abbrev: raise the default abbreviation to 12 hexdigits

From: Junio C Hamano <[email-masked]>
Date: Thu, 29 Sep 2016 12:45:34 -0700

Linus Torvalds <[email-masked]> writes:

> But you could easily also just instead have it do something like
>
>       if (default_abbrev < 0)
>             default_abbrev = initialize_abbrev();
>
> at startup time if "abbrev_commit" is set, and just do it once and for
> all rather rthan the odd loping behavior.

I think that is a reasonable way to go.

#define DEFAULT_ABBREV get_default_abbrev()

would help.