]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/config/log.txt
Git 2.31.4
[thirdparty/git.git] / Documentation / config / log.txt
1 log.abbrevCommit::
2 If true, makes linkgit:git-log[1], linkgit:git-show[1], and
3 linkgit:git-whatchanged[1] assume `--abbrev-commit`. You may
4 override this option with `--no-abbrev-commit`.
5
6 log.date::
7 Set the default date-time mode for the 'log' command.
8 Setting a value for log.date is similar to using 'git log''s
9 `--date` option. See linkgit:git-log[1] for details.
10
11 log.decorate::
12 Print out the ref names of any commits that are shown by the log
13 command. If 'short' is specified, the ref name prefixes 'refs/heads/',
14 'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is
15 specified, the full ref name (including prefix) will be printed.
16 If 'auto' is specified, then if the output is going to a terminal,
17 the ref names are shown as if 'short' were given, otherwise no ref
18 names are shown. This is the same as the `--decorate` option
19 of the `git log`.
20
21 log.excludeDecoration::
22 Exclude the specified patterns from the log decorations. This is
23 similar to the `--decorate-refs-exclude` command-line option, but
24 the config option can be overridden by the `--decorate-refs`
25 option.
26
27 log.follow::
28 If `true`, `git log` will act as if the `--follow` option was used when
29 a single <path> is given. This has the same limitations as `--follow`,
30 i.e. it cannot be used to follow multiple files and does not work well
31 on non-linear history.
32
33 log.graphColors::
34 A list of colors, separated by commas, that can be used to draw
35 history lines in `git log --graph`.
36
37 log.showRoot::
38 If true, the initial commit will be shown as a big creation event.
39 This is equivalent to a diff against an empty tree.
40 Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which
41 normally hide the root commit will now show it. True by default.
42
43 log.showSignature::
44 If true, makes linkgit:git-log[1], linkgit:git-show[1], and
45 linkgit:git-whatchanged[1] assume `--show-signature`.
46
47 log.mailmap::
48 If true, makes linkgit:git-log[1], linkgit:git-show[1], and
49 linkgit:git-whatchanged[1] assume `--use-mailmap`, otherwise
50 assume `--no-use-mailmap`. True by default.