diff options
author | 徐沛文 (Aleen) <aleen42@vip.qq.com> | 2021-12-09 07:25:54 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 17:04:18 -0800 |
commit | 7c096b8d61e1276acb6f84bf446cfe74578382a0 (patch) | |
tree | 596e8db764d0dc4d98c2a8e59faa71d2ca6eba28 /userdiff.c | |
parent | doc: git-format-patch: describe the option --always (diff) | |
download | tgif-7c096b8d61e1276acb6f84bf446cfe74578382a0.tar.xz |
am: support --empty=<option> to handle empty patches
Since that the command 'git-format-patch' can include patches of
commits that emit no changes, the 'git-am' command should also
support an option, named as '--empty', to specify how to handle
those empty patches. In this commit, we have implemented three
valid options ('stop', 'drop' and 'keep').
Signed-off-by: 徐沛文 (Aleen) <aleen42@vip.qq.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'userdiff.c')
0 files changed, 0 insertions, 0 deletions