git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Pierre Ossman <ossman@cendio.se>
Date
Nov 21, 2016, 13:30 UTC
Message-ID
<a7d01933-bdf6-140d-3eb1-f015e1338375@cendio.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?
Message 1 of 1 in “--root seems to cancel out --keep-empty in git-rebase”
  1. Pierre OssmanNov 21, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.