diff options
| author | 徐沛文 (Aleen) <aleen42@vip.qq.com> | 2021-12-09 07:25:55 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-12-15 17:04:19 -0800 |
| commit | 9e7e41bf19ed10469f9adb60669b1699c81b8ea6 (patch) | |
| tree | 38c8ff55fb6b3b4280b09c6b87dcbdfa96da0d3a /diff.c | |
| parent | am: support --empty=<option> to handle empty patches (diff) | |
| download | git-9e7e41bf19ed10469f9adb60669b1699c81b8ea6.tar.gz git-9e7e41bf19ed10469f9adb60669b1699c81b8ea6.zip | |
am: support --allow-empty to record specific empty patches
This option helps to record specific empty patches in the middle
of an am session, which does create empty commits only when:
1. the index has not changed
2. lacking a branch
When the index has changed, "--allow-empty" will create a non-empty
commit like passing "--continue" or "--resolved".
Signed-off-by: 徐沛文 (Aleen) <aleen42@vip.qq.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions
