{"thread":{"id":"44521","subject":"--root seems to cancel out --keep-empty in git-rebase","startedAt":"2016-11-21T13:39:59Z","lastAt":"2016-11-21T13:39:59Z","messageCount":1,"participants":["Pierre Ossman"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"306214","messageId":"a7d01933-bdf6-140d-3eb1-f015e1338375@cendio.se","threadId":"44521","inReplyTo":null,"subject":"--root seems to cancel out --keep-empty in git-rebase","fromName":"Pierre Ossman","fromEmail":"ossman@cendio.se","sentAt":"2016-11-21T13:30:47Z","receivedAt":"2016-11-21T13:39:59Z","isPatch":false,"sender":{"key":"ossman@cendio.se","avatar":"https://gravatar.com/avatar/d72603ba4ea49f4dd970131b7944709d2c353664d7d389e2264caa6cc8eb618c?d=mp&s=160"},"body":"As the subject says, these two commands give identical behaviour:\n\n\tgit rebase --interactive --keep-empty --root\n\nand:\n\n\tgit rebase --interactive --root\n\nI.e. --keep-empty has no effect when --root is specified.\n\nIdeas for workaround welcome.\n\nRegards\n-- \nPierre Ossman           Software Development\nCendio AB               https://cendio.com\nTeknikringen 8          https://twitter.com/ThinLinc\n583 30 Linköping        https://facebook.com/ThinLinc\nPhone: +46-13-214600    https://plus.google.com/+CendioThinLinc\n\nA: Because it messes up the order in which people normally read text.\nQ: Why is top-posting such a bad thing?\n"}]}