Re: [PATCH v2] Add log.abbrevCommit config variable
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 14, 2011, 21:55 UTC
- Message-ID
- <20110514215543.GA23648@elie>
- In-Reply-To
- <1305406038-36435-1-git-send-email-jaysoffian@gmail.com>
Jay Soffian wrote:
> Add log.abbrevCommit config variable as a convenience for users who > often use --abbrev-commit with git log and friends. Allow the option > to be overridden with --no-abbrev-commit.
Based on a quick google code search, this will break scripts. :/ For example, tig uses "git log --pretty=raw" to get revision lists, including expecting 40-digit commit ids.
But aside from that, this looks good to me. I'm not sure what to suggest: go out and spread the word about diff-tree? suppress this configuration when --pretty or --format is passed? There's no obvious good answer.