git@vger.kernel.org list mirror (unofficial, one of many)
 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

git@vger.kernel.org list mirror (unofficial, one of many)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/git
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 git git/ https://public-inbox.org/git \
		git@vger.kernel.org
	public-inbox-index git

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.version-control.git
	nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git
	nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git
	nntp://news.gmane.io/gmane.comp.version-control.git
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:

	https://80x24.org/mirrors/git.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git