diff options
author | 徐沛文 (Aleen) <aleen42@vip.qq.com> | 2021-12-09 10:25:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-16 04:04:18 +0300 |
commit | 7c096b8d61e1276acb6f84bf446cfe74578382a0 (patch) | |
tree | 596e8db764d0dc4d98c2a8e59faa71d2ca6eba28 /wt-status.c | |
parent | 552038e26cfa2a1b5a7843567ca7ab39a573951f (diff) |
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 'wt-status.c')
0 files changed, 0 insertions, 0 deletions