# --root seems to cancel out --keep-empty in git-rebase

1 messages from 2016-11-21 to 2016-11-21. Participants: Pierre Ossman.
Thread: https://gitlist.dev/t/44521

## Pierre Ossman, 2016-11-21 13:30

Subject: --root seems to cancel out --keep-empty in git-rebase
Message-ID: <a7d01933-bdf6-140d-3eb1-f015e1338375@cendio.se>
URL: https://gitlist.dev/e/a7d01933-bdf6-140d-3eb1-f015e1338375%40cendio.se

```
As the subject says, these two commands give identical behaviour:

	git rebase --interactive --keep-empty --root

and:

	git rebase --interactive --root

I.e. --keep-empty has no effect when --root is specified.

Ideas for workaround welcome.

Regards
-- 
Pierre Ossman           Software Development
Cendio AB               https://cendio.com
Teknikringen 8          https://twitter.com/ThinLinc
583 30 Linköping        https://facebook.com/ThinLinc
Phone: +46-13-214600    https://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

```
