Re: [PATCH v4 2/2] bundle: arguments can be read from stdin
From: Junio C Hamano <hidden>
Date: 2021-01-09 02:19:36
Jiang Xin [off-list ref] writes:
quoted hunk
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 ;-)