Re: Intoducing the .git file (again)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 17, 2008, 22:20 UTC
- Message-ID
- <alpine.LSU.1.00.0802172219190.30505@racer.site>
- In-Reply-To
- <1203286456-26033-1-git-send-email-hjemli@gmail.com>
Hi,
On Sun, 17 Feb 2008, Lars Hjemli wrote:
Show 5 quoted lines
> PPS: If included, the .git file should probably be used by git-submodule > to clone submodule repositories into something like > $GIT_DIR/submodules/<name>, as that would make local submodule changes > more resistant to dataloss due to checkout/reset in the containing > repository.
I don't buy that argument. For the moment, the submodules are self-contained repositories. The superproject does not even have to have a single object contained in a submodule. I'd try to keep that separation.
As for data loss, again, as a submodule is self-contained, the same rules apply to it as for any repository.
Ciao, Dscho