]> git.ipfire.org Git - thirdparty/git.git/commit
format-patch: introduce format.useAutoBase configuration
authorXiaolong Ye <xiaolong.ye@intel.com>
Tue, 26 Apr 2016 07:51:24 +0000 (15:51 +0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Apr 2016 17:52:57 +0000 (10:52 -0700)
commitbb52995f3ec7fac2b282a91af4230e4f387af234
tree42bdf3c3090d6c3481ea44abe712680d97047c2c
parent3de665175f3433ccd1dadd4d5d09fa9553948e55
format-patch: introduce format.useAutoBase configuration

This allows to record the base commit automatically, it is equivalent
to set --base=auto in cmdline.

The format.useAutoBase has lower priority than command line option,
so if user set format.useAutoBase and pass the command line option in
the meantime, base_commit will be the one passed to command line
option.

Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
builtin/log.c
t/t4014-format-patch.sh