Re: [PATCH v5] submodule: add 'deinit' command

2013-02-18 Thread Jens Lehmann
Am 17.02.2013 23:32, schrieb Junio C Hamano: > Jens Lehmann writes: >> diff --git a/git-submodule.sh b/git-submodule.sh >> index 004c034..0fb6ee0 100755 >> --- a/git-submodule.sh >> +++ b/git-submodule.sh >> @@ -547,6 +548,82 @@ cmd_init() >> } >> >> # >> +# Unregister submodules from .git/confi

Re: [PATCH v5] submodule: add 'deinit' command

2013-02-17 Thread Junio C Hamano
Jens Lehmann writes: > Here we go, changes to v4 are: > > - I decided to do the proposed special casing for "."; no messages > about uninitialized submodules will show up anymore (this is also > tested) > - The spelling fixes and better 'uninitialized' message Phil proposed > - Added the miss

[PATCH v5] submodule: add 'deinit' command

2013-02-17 Thread Jens Lehmann
With "git submodule init" the user is able to tell git he cares about one or more submodules and wants to have it populated on the next call to "git submodule update". But currently there is no easy way he could tell git he does not care about a submodule anymore and wants to get rid of his local w