Matthieu Moy <[email protected]> writes:

> Andreas Schwab <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to