summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorPratik Karki <predatoramigo@gmail.com>2018-09-04 15:00:05 -0700
committerJunio C Hamano <gitster@pobox.com>2018-10-11 14:12:45 +0900
commit9b3a448b4eee25050dc1e1c14c886e27e2985819 (patch)
tree391be8d9fbe458d45ede4f19f5df2742616ddbee /commit.h
parent68e46d78683bf3cbf707fdad9d95f4cd72cc5dd5 (diff)
builtin rebase: support `--allow-empty-message` option
This commit introduces the `--allow-empty-message` option to `builtin/rebase.c`. The motivation behind this option is: if there are empty messages (which is not allowed in Git by default, but can be imported from different version control systems), the rebase will fail. Using `--allow-empty-message` overrides that behaviour which will allow the commits having empty messages to continue in rebase operation. Note: a very recent change made this the default in the shell scripted `git rebase`, therefore the builtin rebase does the same. Signed-off-by: Pratik Karki <predatoramigo@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions