From: W. Trevor King Date: Thu, 13 Dec 2012 00:28:05 GMT Subject: Re: [PATCH v2] submodule: add 'deinit' command Message-ID: <20121213002805.GA8380@odin.tremily.us> In-Reply-To: <7vsj7a268w.fsf@alter.siamese.dyndns.org> On Wed, Dec 12, 2012 at 03:35:59PM -0800, Junio C Hamano wrote: > "W. Trevor King" writes: > > > Should `deinit` remove the submodule checkout, replace it with the > > original gitlink, and clear the .git/config information then? That > > would restore the user to the state they'd be in if they were never > > interested in the submodule. > > AFAIU, "restore the user to the state" is the goal. I am not sure > what you meant by "replace it with the original gitlink", though. A > checkout with a submodule that the user is not interested in would > have an empty directory at that path, no? Ah yes, the gitlink is only in the index. Sorry for the noise. -- This email may be signed or encrypted with GnuPG (http://www.gnupg.org). For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy