config.txt: move log.* to a separate file
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Oct 27, 2018 at 08:23 UTC
8300976295da6cd0a5e416891e87b6694dfa7ac0
2 files changed
+44
-43
Documentation/config.txt
+1
-43
@@ -363,49 +363,7 @@ include::config/instaweb.txt[]
363
364
include::config/interactive.txt[]
365
366
-log.abbrevCommit::
367
- If true, makes linkgit:git-log[1], linkgit:git-show[1], and
368
- linkgit:git-whatchanged[1] assume `--abbrev-commit`. You may
369
- override this option with `--no-abbrev-commit`.
370
-
371
-log.date::
372
- Set the default date-time mode for the 'log' command.
373
- Setting a value for log.date is similar to using 'git log''s
374
- `--date` option. See linkgit:git-log[1] for details.
375
-
376
-log.decorate::
377
- Print out the ref names of any commits that are shown by the log
378
- command. If 'short' is specified, the ref name prefixes 'refs/heads/',
379
- 'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is
380
- specified, the full ref name (including prefix) will be printed.
381
- If 'auto' is specified, then if the output is going to a terminal,
382
- the ref names are shown as if 'short' were given, otherwise no ref
383
- names are shown. This is the same as the `--decorate` option
384
- of the `git log`.
385
-
386
-log.follow::
387
- If `true`, `git log` will act as if the `--follow` option was used when
388
- a single <path> is given. This has the same limitations as `--follow`,
389
- i.e. it cannot be used to follow multiple files and does not work well
390
- on non-linear history.
391
-
392
-log.graphColors::
393
- A list of colors, separated by commas, that can be used to draw
394
- history lines in `git log --graph`.
395
-
396
-log.showRoot::
397
- If true, the initial commit will be shown as a big creation event.
398
- This is equivalent to a diff against an empty tree.
399
- Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which
400
- normally hide the root commit will now show it. True by default.
401
-
402
-log.showSignature::
403
- If true, makes linkgit:git-log[1], linkgit:git-show[1], and
404
- linkgit:git-whatchanged[1] assume `--show-signature`.
405
-
406
-log.mailmap::
407
- If true, makes linkgit:git-log[1], linkgit:git-show[1], and
408
- linkgit:git-whatchanged[1] assume `--use-mailmap`.
366
+include::config/log.txt[]
367
368
mailinfo.scissors::
369
If true, makes linkgit:git-mailinfo[1] (and therefore
Documentation/config/log.txt
new
+43
@@ -0,0 +1,43 @@
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.follow::
22
+ If `true`, `git log` will act as if the `--follow` option was used when
23
+ a single <path> is given. This has the same limitations as `--follow`,
24
+ i.e. it cannot be used to follow multiple files and does not work well
25
+ on non-linear history.
26
+
27
+log.graphColors::
28
+ A list of colors, separated by commas, that can be used to draw
29
+ history lines in `git log --graph`.
30
+
31
+log.showRoot::
32
+ If true, the initial commit will be shown as a big creation event.
33
+ This is equivalent to a diff against an empty tree.
34
+ Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which
35
+ normally hide the root commit will now show it. True by default.
36
+
37
+log.showSignature::
38
+ If true, makes linkgit:git-log[1], linkgit:git-show[1], and
39
+ linkgit:git-whatchanged[1] assume `--show-signature`.
40
+
41
+log.mailmap::
42
+ If true, makes linkgit:git-log[1], linkgit:git-show[1], and
43
+ linkgit:git-whatchanged[1] assume `--use-mailmap`.