git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question on "git subtree split"
@ 2020-10-16 22:31 Erwin Dondorp
  0 siblings, 0 replies; only message in thread
From: Erwin Dondorp @ 2020-10-16 22:31 UTC (permalink / raw)
  To: git

Hello,

I'm splitting the directories of one large repository into multiple 
repositories using "git subtree split".
Everything is clear and understandable thanks to 
https://stackoverflow.com/questions/359424/detach-move-subdirectory-into-separate-git-repository#17864475
The new branch is created and contains exactly the expected commits.

But the oldest commit from the new branch is not connected to the 
initial (empty) commit of the repository.
Instead, it is a new parent-less commit.
This causes problems with some of the next operations that I need to 
perform as project cleanup, like squashing/re-ordering commits.

Is this intentional that the oldest commit of the new branch is parent-less?

Erwin


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-16 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 22:31 question on "git subtree split" Erwin Dondorp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).