Skip to content

Commit 774a0ca

Browse files
dschojamill
authored andcommitted
"fixup! builtin rebase: support keep-empty option"
This *would* be a fixup commit, except that we want to avoid rewriting commits that we merged from upstream's `pu` branch. Instead, we want to send a new iteration, and then re-merge the new iteration once it made it into the `pu` branch. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 5aea1f3 commit 774a0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/rebase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
10251025
&options.allow_rerere_autoupdate,
10261026
N_("allow rerere to update index with resolved "
10271027
"conflict")),
1028-
OPT_BOOL(0, "keep-empty", &options.keep_empty,
1028+
OPT_BOOL('k', "keep-empty", &options.keep_empty,
10291029
N_("preserve empty commits during rebase")),
10301030
OPT_BOOL(0, "autosquash", &options.autosquash,
10311031
N_("move commits that begin with "

0 commit comments

Comments
 (0)