Re: [PATCH v4 2/2] bundle: arguments can be read from stdin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 9, 2021, 02:18 UTC
- Message-ID
- <xmqqo8hyg8ee.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20210108144514.24805-3-worldhello.net@gmail.com>
Jiang Xin <worldhello.net@gmail.com> writes:
Show 20 quoted lines
> diff --git a/t/t5607-clone-bundle.sh b/t/t5607-clone-bundle.sh > index 26985f4b44..425258767d 100755 > --- a/t/t5607-clone-bundle.sh > +++ b/t/t5607-clone-bundle.sh > @@ -38,13 +38,13 @@ test_expect_success 'die if bundle file cannot be created' ' > test_must_fail git bundle create adir --all > ' > > -test_expect_failure 'bundle --stdin' ' > +test_expect_success 'bundle --stdin' ' > echo master | git bundle create stdin-bundle.bdl --stdin && > git ls-remote stdin-bundle.bdl >output && > grep master output > ' > > -test_expect_failure 'bundle --stdin <rev-list options>' ' > +test_expect_success 'bundle --stdin <rev-list options>' ' > echo master | git bundle create hybrid-bundle.bdl --stdin tag && > git ls-remote hybrid-bundle.bdl >output && > grep master output
I think these tests that documented the known limitation came from f62e0a39 (t5704 (bundle): add tests for bundle --stdin, 2010-04-19).
The author(s) of the original test deserves to be notified ;-)