diff options
author | Roland Hieber <rhi@pengutronix.de> | 2019-01-30 15:23:56 +0100 |
---|---|---|
committer | Roland Hieber <rhi@pengutronix.de> | 2019-01-30 15:42:32 +0100 |
commit | 793564bf5924c5b02100d87d427d92a643d2a61a (patch) | |
tree | 2e0389e64520aa441c97ce2d4fbb78741230832a /string-list.c | |
parent | b5101f929789889c2e536d915698f58d5c5c6b7a (diff) | |
download | git-rhi/reflog-default-pretty.tar.gz git-rhi/reflog-default-pretty.tar.xz |
reflog: specify default pretty format in configrhi/reflog-default-pretty
The output of git-reflog is currently only customizable by calling
reflog with --pretty=... or overriding the default "oneline" pretty
format in the configuration. To save typing, teach reflog to fall back
to a default format specified in the config option "reflog.pretty"
unless a different pretty format is given on the command line. (This is
similar to the "format.pretty" option for git-log and git-show.)
When this config option is not set, fall back to the old default of
--pretty=oneline --abbrev-hash.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Diffstat (limited to 'string-list.c')
0 files changed, 0 insertions, 0 deletions