summaryrefslogtreecommitdiff
path: root/entry.c
diff options
context:
space:
mode:
authorLibravatar 徐沛文 (Aleen) <aleen42@vip.qq.com>2021-12-09 07:25:54 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-15 17:04:18 -0800
commit7c096b8d61e1276acb6f84bf446cfe74578382a0 (patch)
tree596e8db764d0dc4d98c2a8e59faa71d2ca6eba28 /entry.c
parentdoc: git-format-patch: describe the option --always (diff)
downloadtgif-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 'entry.c')
0 files changed, 0 insertions, 0 deletions