From: Jens Lehmann Date: Wed, 12 Sep 2012 19:24:17 GMT Subject: Re: [PATCH v3] Teach rm to remove submodules unless they contain a git directory Message-ID: <5050E161.9080203@web.de> In-Reply-To: <7vhar4gxdq.fsf@alter.siamese.dyndns.org> Am 11.09.2012 21:41, schrieb Junio C Hamano: > Lilewise. It may make sense to introduce a helper function to tell > if it is a submodule on our side by checking only the stage #2 entry > when you see a nagetive pos returned from cache_name_pos() and call > it "is_ours_submodule?()" or something. Thanks, will do so.