]> git.99rst.org Git - git.git/commit
doc/log: correct default for --decorate
authorĐoàn Trần Công Danh <redacted>
Tue, 8 Jun 2021 01:58:40 +0000 (08:58 +0700)
committerJunio C Hamano <redacted>
Tue, 8 Jun 2021 04:34:48 +0000 (13:34 +0900)
commita0538e5c8baf9985a71d18a1495985441041efba
tree30a081c9c3e0494ab93d185209d00f19998fcdc6
parent48bf2fa8bad054d66bd79c6ba903c89c704201f7
doc/log: correct default for --decorate

There're two different default options for log --decorate:
* Should `--decorate` be given without any arguments, it's default to
  `short`
* Should neither `--decorate` nor `--no-decorate` be given, it's default
  to the `log.decorate` or `auto`.

We documented the former, but not the latter.

Let's document them, too.

Reported-by: Andy AO <redacted>
Signed-off-by: Đoàn Trần Công Danh <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-log.txt
git clone https://git.99rst.org/PROJECT