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. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html