Re: "git add" with several pathspecS and one doesn't match
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 14, 2018, 19:29 UTC
- Message-ID
- <xmqqtvujmksv.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <d5e4138e-d5d6-3a84-a222-8d0170a52ccb@gmail.com>
Goffredo Baroncelli <kreijack@gmail.com> 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 appropriate.