From: Ramkumar Ramachandra Date: Tue, 16 Apr 2013 08:17:02 GMT Subject: Re: [RFC/PATCH] clone: introduce clone.submoduleGitDir to relocate $GITDIR Message-ID: In-Reply-To: <516C4BEB.7030507@xiplink.com> Marc Branchaud wrote: > If "git add" is all about specifying what lives under paths in the worktree, > what's wrong with letting "git add" go beyond specifying just files? > > Syntax aside for the moment, I think a command like > git add git-repo-reference foo > is perfectly natural: It specifies what is inside worktree path foo. I never said "just files". Files, directories, symlinks and submodules are all "things in the worktree", and all fine. Remote URLs, on the other hand, have nothing to do with the worktree.