]> git.ipfire.org Git - thirdparty/git.git/commit
doc/log: correct default for --decorate
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Tue, 8 Jun 2021 01:58:40 +0000 (08:58 +0700)
committerJunio C Hamano <gitster@pobox.com>
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 <zen96285@gmail.com>
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-log.txt