Re: [PATCH 07/16] git-read-tree: take --submodules option
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:12
Petr Baudis [off-list ref] writes:
On Thu, May 24, 2007 at 10:32:32PM CEST, Junio C Hamano wrote: ...quoted
It's just bare/pure layout is easier to understand because it is essentially a "mirror" of the upstream.I OTOH think that it's less confusing to just keep it the same for all the normal repositories - and you yourself did not rule out the possibility to have local changes in the repository, in which case we certainly should use the separate-remotes layout or we go back to last year's refs mess.
That "local changes in the repository" will happen in the clone created in kernel-src/ directory and I do not have any problem using separate remotes there. I was talking about the refs layout used in .git/subproject/kernel26/, which is a mirror of the upstream and the clone source for that (temporarily checked out) repository at kernel-src/ directory. After all, the "mirror" is where you would push your local changes back into, and it is more common to use non-separate-remote layout (without even 'master'->'origin' mapping, hence I had to come up with a new name 'pure', but I realize that what I meant really is a 'mirror') there.