File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -1956,7 +1956,10 @@ log.decorate::
1956
1956
command. If 'short' is specified, the ref name prefixes 'refs/heads/',
1957
1957
'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is
1958
1958
specified, the full ref name (including prefix) will be printed.
1959
- This is the same as the log commands '--decorate' option.
1959
+ If 'auto' is specified, then if the output is going to a terminal,
1960
+ the ref names are shown as if 'short' were given, otherwise no ref
1961
+ names are shown. This is the same as the '--decorate' option
1962
+ of the `git log`.
1960
1963
1961
1964
log.follow::
1962
1965
If `true`, `git log` will act as if the `--follow` option was used when
Original file line number Diff line number Diff line change @@ -29,12 +29,14 @@ OPTIONS
29
29
(works only for a single file).
30
30
31
31
--no-decorate::
32
- --decorate[=short|full|no]::
32
+ --decorate[=short|full|auto| no]::
33
33
Print out the ref names of any commits that are shown. If 'short' is
34
34
specified, the ref name prefixes 'refs/heads/', 'refs/tags/' and
35
35
'refs/remotes/' will not be printed. If 'full' is specified, the
36
- full ref name (including prefix) will be printed. The default option
37
- is 'short'.
36
+ full ref name (including prefix) will be printed. If 'auto' is
37
+ specified, then if the output is going to a terminal, the ref names
38
+ are shown as if 'short' were given, otherwise no ref names are
39
+ shown. The default option is 'short'.
38
40
39
41
--source::
40
42
Print out the ref name given on the command line by which each
You can’t perform that action at this time.
0 commit comments