Re: 'git reset -- NonExistingFile' succeeds
- From
- Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
- Date
- Nov 4, 2019, 10:24 UTC
- Message-ID
- <df35c20c-669e-35a1-9b2c-22940637b560@syntevo.com>
- In-Reply-To
- <xmqqo8xu51cv.fsf@gitster-ct.c.googlers.com>
On 02.11.2019 5:49, Junio C Hamano wrote:
> It's sort of expected ;-)
Didn't expect such a detailed reply, thanks!
Not really a problem for me, just I was surprised and thought that I'd ask about it.
I came across this issue when writing a test for 'git reset'. I'll simply change the test to verify the repository state instead of expecting 'git reset' to fail.