Re: [RFC/PATCH] clone: introduce clone.submoduleGitDir to relocate $GITDIR
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 16, 2013, 08:17 UTC
- Message-ID
- <CALkWK0kEQ+mCxkaqUusyaEpx350qNrJ8UPoeo7+hEVGEUbtaxQ@mail.gmail.com>
- In-Reply-To
- <516C4BEB.7030507@xiplink.com>
Marc Branchaud wrote:
Show 6 quoted lines
> 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.