Matthieu Moy <matthieu....@grenoble-inp.fr> writes: > Andreas Schwab <sch...@linux-m68k.org> writes: > >> The argument to git add is a pathspec, and the empty pathspec matches >> all files. > > Err, why does the empty pathspec match all files? Isn't that a bug?
That is debatable. cd Documentation git add "a" would be equivalent to typing git add Documentation/"a" so cd Documentation git add "" would be equivalent to typing git add Documentation/"" And doing the same from the top-level of the working tree can be argued to be a natural extension. -- 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