Re: "git add" with several pathspecS and one doesn't match

2018-02-14 Thread Junio C Hamano
Goffredo Baroncelli writes: > I am facing this issue: I am ADDing some file with several > pathspec, and one of these fails. The results is that no file is > added at all. This is a good example of a pretty conscious design decision to keep operations atomic/a-o-n when

"git add" with several pathspecS and one doesn't match

2018-02-14 Thread Goffredo Baroncelli
Hi All, I am facing this issue: I am ADDing some file with several pathspec, and one of these fails. The results is that no file is added at all. Simple test case: $ git init . $ touch 123.txt $ git add "*.txt" "*.doc" fatal: pathspec '*.doc' did not match any files $ git status [...]