diff options
author | Steven Drake <sdrake@xnet.co.nz> | 2010-02-17 02:39:52 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-17 20:51:23 +0300 |
commit | eb734454098fb68af1fb0e157dd5e67bb15a602d (patch) | |
tree | bee4d04089a6c03405c2a02e02680c29e76ffd33 /Documentation/config.txt | |
parent | 8420ccd8b884e1edceca9ea5824f3ff300c0c4ba (diff) |
Add `log.decorate' configuration variable.
This alows the 'git-log --decorate' to be enabled by default so that normal
log outout contains ant ref names of commits that are shown.
Signed-off-by: Steven Drake <sdrake@xnet.co.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r-- | Documentation/config.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 4c36aa95b7..db280326de 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1232,6 +1232,13 @@ log.date:: following alternatives: {relative,local,default,iso,rfc,short}. See linkgit:git-log[1]. +log.decorate:: + Print out the ref names of any commits that are shown by the log + command. If 'short' is specified, the ref name prefixes 'refs/heads/', + 'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is + specified, the full ref name (including prefix) will be printed. + This is the same as the log commands '--decorate' option. + log.showroot:: If true, the initial commit will be shown as a big creation event. This is equivalent to a diff against an empty tree. |