Re: [PATCH 0/2] Let "git submodule add" fail when .git/modules/ already exists

2012-09-30 Thread Jens Lehmann
Am 30.09.2012 06:47, schrieb Junio C Hamano: > Jens Lehmann writes: > >>> The only long term solution I can think of is to use some kind of UUID for >>> the name, so that the names of newly added submodules won't have a chance >>> to clash anymore. For the short term aborting "git submodule add"

Re: [PATCH 0/2] Let "git submodule add" fail when .git/modules/ already exists

2012-09-29 Thread Junio C Hamano
Jens Lehmann writes: >> The only long term solution I can think of is to use some kind of UUID for >> the name, so that the names of newly added submodules won't have a chance >> to clash anymore. For the short term aborting "git submodule add" when a >> submodule of that name already exists in .

[PATCH 0/2] Let "git submodule add" fail when .git/modules/ already exists

2012-09-29 Thread Jens Lehmann
Am 26.09.2012 22:56, schrieb Jens Lehmann: > Am 26.09.2012 06:18, schrieb Jonathan Johnson: >> To reproduce >> >> 1) add a git submodule in a specific location (we'll say it's at >> `./submodule/location`) >> 2) go through the normal steps of removing a submodule, as listed here - >> https://git.