From: Junio C Hamano Date: Tue, 24 Jan 2012 22:38:05 GMT Subject: Re: [BUG] Fail to add a module in a subdirectory if module is already cloned Message-ID: <7vd3a83ewi.fsf@alter.siamese.dyndns.org> In-Reply-To: <4F1F2D38.9050909@web.de> Jens Lehmann writes: > Just for the record: I checked that and git-submodule does not set the > SUBDIRECTORY_OK environment variable so every time it is not run in the > top level directory it aborts with: > "You need to run this command from the toplevel of the working tree." Ah, Ok.