diff options
author | Elijah Newren <newren@gmail.com> | 2020-04-11 02:44:24 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-11 14:15:49 -0700 |
commit | 1b5735f75c7fd5a46a86adce35d1ed0c6e00ee0f (patch) | |
tree | fcec9e9ab8c5e97c2f06ef52525546ba6b1fb2f3 /diff-delta.c | |
parent | Git 2.26 (diff) | |
download | tgif-1b5735f75c7fd5a46a86adce35d1ed0c6e00ee0f.tar.xz |
rebase -i: mark commits that begin empty in todo editor
While many users who intentionally create empty commits do not want them
thrown away by a rebase, there are third-party tools that generate empty
commits that a user might not want. In the past, users have used rebase
to get rid of such commits (a side-effect of the fact that the --apply
backend is not currently capable of keeping them). While such users
could fire up an interactive rebase and just remove the lines
corresponding to empty commits, that might be difficult if the
third-party tool generates many of them. Simplify this task for users
by marking such lines with a suffix of " # empty" in the todo list.
Suggested-by: Sami Boukortt <sami@boukortt.com>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-delta.c')
0 files changed, 0 insertions, 0 deletions