Re: [PATCH v2] reset: unstage empty deleted ita files
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 29, 2019, 16:07 UTC
- Message-ID
- <xmqqtvb4vn73.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAK_rgsFDpW3JhMAc=VBm=WD3drFnV0g=QN15+uZYdsnBTnX_Cg@mail.gmail.com>
Varun Naik <vcnaik94@gmail.com> writes:
> To guard against changes to the test cases in the future, would it be > better if I write something like the following instead? > git diff --cached --exit-code HEAD nonempty empty
Hmph, that is probably a good idea, as it matches the kind of "reset" we just did, which is what we are testing.