Re: [PATCH v1 09/11] t: add tests for restore
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 14, 2019, 05:45 UTC
- Message-ID
- <xmqq5zsm9ffv.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20190308101655.9767-10-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 16 quoted lines
> diff --git a/t/t2070-restore.sh b/t/t2070-restore.sh > new file mode 100755 > index 0000000000..df91bf54bc > --- /dev/null > +++ b/t/t2070-restore.sh > @@ -0,0 +1,77 @@ > +#!/bin/sh > + > +test_description='restore basic functionality' > + > +. ./test-lib.sh > + ... > +test_expect_success 'restore -p without pathspec is fine' ' > + echo q >cmd && > + git restore -p <cmd > +'
This stands out as a sore thumb, being an invocation with '-p' while all the other tests for the '-p' feature are in t2071.
Shoudln't it move to somewhere near the beginning of 2071?
Show 5 quoted lines
> diff --git a/t/t2071-restore-patch.sh b/t/t2071-restore-patch.sh > new file mode 100755 > index 0000000000..46ebcb2413 > --- /dev/null > +++ b/t/t2071-restore-patch.sh