Linus Torvalds <torva...@linux-foundation.org> 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.