interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / Documentation / config / log.adoc

79 lines · 2838 bytes Raw Blame History
1`log.abbrevCommit`::
2 If `true`, make
3ifndef::with-breaking-changes[]
4 linkgit:git-log[1], linkgit:git-show[1], and
5 linkgit:git-whatchanged[1]
6endif::with-breaking-changes[]
7ifdef::with-breaking-changes[]
8 linkgit:git-log[1] and linkgit:git-show[1]
9endif::with-breaking-changes[]
10 assume `--abbrev-commit`. You may
11 override this option with `--no-abbrev-commit`.
12
13`log.date`::
14 Set the default date-time mode for the `log` command.
15 Setting a value for log.date is similar to using `git log`'s
16 `--date` option. See linkgit:git-log[1] for details.
17+
18If the format is set to "auto:foo" and the pager is in use, format
19"foo" will be used for the date format. Otherwise, "default" will
20be used.
21
22`log.decorate`::
23 Print out the ref names of any commits that are shown by the log
24 command. Possible values are:
25+
26--
27`short`;; the ref name prefixes `refs/heads/`, `refs/tags/` and
28 `refs/remotes/` are not printed.
29`full`;; the full ref name (including prefix) are printed.
30`auto`;; if the output is going to a terminal,
31 the ref names are shown as if `short` were given, otherwise no ref
32 names are shown.
33--
34+
35This is the same as the `--decorate` option of the `git log`.
36
37`log.initialDecorationSet`::
38 By default, `git log` only shows decorations for certain known ref
39 namespaces. If 'all' is specified, then show all refs as
40 decorations.
41
42`log.excludeDecoration`::
43 Exclude the specified patterns from the log decorations. This is
44 similar to the `--decorate-refs-exclude` command-line option, but
45 the config option can be overridden by the `--decorate-refs`
46 option.
47
48`log.diffMerges`::
49 Set diff format to be used when `--diff-merges=on` is
50 specified, see `--diff-merges` in linkgit:git-log[1] for
51 details. Defaults to `separate`.
52
53`log.follow`::
54 If `true`, `git log` will act as if the `--follow` option was used when
55 a single <path> is given. This has the same limitations as `--follow`,
56 i.e. it cannot be used to follow multiple files.
57
58`log.graphColors`::
59 A list of colors, separated by commas, that can be used to draw
60 history lines in `git log --graph`.
61
62`log.graphIndent`::
63 If `true`, indent visual roots when rendering the graphs with `--graph`.
64 Set true by default. It can be overridden with `--[no-]graph-indent`.
65
66`log.showRoot`::
67 If true, the initial commit will be shown as a big creation event.
68 This is equivalent to a diff against an empty tree.
69 Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which
70 normally hide the root commit will now show it. True by default.
71
72`log.showSignature`::
73 If true, makes linkgit:git-log[1], linkgit:git-show[1], and
74 linkgit:git-whatchanged[1] assume `--show-signature`.
75
76`log.mailmap`::
77 If true, makes linkgit:git-log[1], linkgit:git-show[1], and
78 linkgit:git-whatchanged[1] assume `--use-mailmap`, otherwise
79 assume `--no-use-mailmap`. True by default.