Skip to content

Commit da80429

Browse files
jonathantanmygitster
authored andcommitted
t0410: make test description clearer
Commit 9a4c507 (t0410: test fetching from many promisor remotes, 2019-06-25) adds some tests that demonstrate not the automatic fetching of missing objects, but the direct fetching from another promisor remote (configured explicitly in one test and implicitly via --filter on the "git fetch" CLI invocation in the other test) - thus demonstrating support for multiple promisor remotes, as described in the commit message. Change the test descriptions accordingly to make this clearer. Signed-off-by: Jonathan Tan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8f8d6ee commit da80429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t0410-partial-clone.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ test_expect_success 'fetching of missing objects works with ref-in-want enabled'
241241
grep "fetch< fetch=.*ref-in-want" trace
242242
'
243243

244-
test_expect_success 'fetching of missing objects from another promisor remote' '
244+
test_expect_success 'fetching from another promisor remote' '
245245
git clone "file://$(pwd)/server" server2 &&
246246
test_commit -C server2 bar &&
247247
git -C server2 repack -a -d --write-bitmap-index &&
@@ -264,7 +264,7 @@ test_expect_success 'fetching of missing objects from another promisor remote' '
264264
grep "$HASH2" out
265265
'
266266

267-
test_expect_success 'fetching of missing objects configures a promisor remote' '
267+
test_expect_success 'fetching with --filter configures a promisor remote' '
268268
git clone "file://$(pwd)/server" server3 &&
269269
test_commit -C server3 baz &&
270270
git -C server3 repack -a -d --write-bitmap-index &&

0 commit comments

Comments
 (0)