author | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Apr 2010 21:48:55 +0000 (14:48 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 6 Apr 2010 21:49:33 +0000 (14:49 -0700) | ||
commit | 635530a2fcd4bb3714452403f341f1317ae9c9f6 | |
tree | 5beeafeed8200f320d8463a7ba384a96e6ee821b | tree | snapshot |
parent | 8a3d203bd02bec48a02557961899d81da172fa23 | commit | diff |
log --pretty/--oneline: ignore log.decorate
Many scripts, most notably gitk, rely on output from the log family of
command not to be molested by random user configuration. This is
especially true when --pretty=raw is given.
Just like we disable notes output unless the command line explicitly
asks for --show-notes, disable the decoration code unless --decorate is
given explicitly from the command line and --pretty or --oneline is
given.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Many scripts, most notably gitk, rely on output from the log family of
command not to be molested by random user configuration. This is
especially true when --pretty=raw is given.
Just like we disable notes output unless the command line explicitly
asks for --show-notes, disable the decoration code unless --decorate is
given explicitly from the command line and --pretty or --oneline is
given.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-log.c | diff | blob | history | |
t/t4202-log.sh | diff | blob | history |