Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-02-21 23:45:04 +0300
committerJunio C Hamano <gitster@pobox.com>2018-02-21 23:45:04 +0300
commit2f6128daab0764c3915dcc9e01c27381b63f5e40 (patch)
tree927fac93c9596bf67ae85e67b0f98ddb47b2d6da /builtin
parentc2bd43d66dab958d72bee58d319df55600158f2e (diff)
parenta6c612b528a22fe9d4cad8807e36d18f2f0fea2c (diff)
Merge branch 'gs/rebase-allow-empty-message'
"git rebase" learned to take "--allow-empty-message" option. * gs/rebase-allow-empty-message: rebase: add --allow-empty-message option
Diffstat (limited to 'builtin')
-rw-r--r--builtin/rebase--helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/rebase--helper.c b/builtin/rebase--helper.c
index 00faf14d07..ad074705bb 100644
--- a/builtin/rebase--helper.c
+++ b/builtin/rebase--helper.c
@@ -22,6 +22,8 @@ int cmd_rebase__helper(int argc, const char **argv, const char *prefix)
struct option options[] = {
OPT_BOOL(0, "ff", &opts.allow_ff, N_("allow fast-forward")),
OPT_BOOL(0, "keep-empty", &keep_empty, N_("keep empty commits")),
+ OPT_BOOL(0, "allow-empty-message", &opts.allow_empty_message,
+ N_("allow commits with empty messages")),
OPT_CMDMODE(0, "continue", &command, N_("continue rebase"),
CONTINUE),
OPT_CMDMODE(0, "abort", &command, N_("abort rebase"),