Re: [PATCH v3] Teach rm to remove submodules unless they contain a git directory
- From
Jens Lehmann <jens.lehmann@web.de>
- Date
- Sep 12, 2012, 19:24 UTC
- 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.