aboutsummaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJay Soffian <jaysoffian@gmail.com>2011-05-18 13:56:04 -0400
committerJunio C Hamano <gitster@pobox.com>2011-05-18 12:40:15 -0700
commit0c47695a69da42df4c4b7a9dad4ba083c604e3d1 (patch)
treea231ad767ee774f4978d4b3c65571716e44cdb86 /revision.h
parentf0f90e34b00e5401ef51f636b0735e17a9938e0a (diff)
downloadgit-0c47695a69da42df4c4b7a9dad4ba083c604e3d1.tar.gz
git-0c47695a69da42df4c4b7a9dad4ba083c604e3d1.tar.xz
Add log.abbrevCommit config variable
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. Per 635530a2fc and 4f62c2bc57, the config variable is ignored when log is given "--pretty=raw". (Also, a drive-by spelling correction in git log's short help.) Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index bca994797..5e1f5c7e8 100644
--- a/revision.h
+++ b/revision.h
@@ -90,6 +90,7 @@ struct rev_info {
show_notes_given:1,
pretty_given:1,
abbrev_commit:1,
+ abbrev_commit_given:1,
use_terminator:1,
missing_newline:1,
date_mode_explicit:1;