Commit d8d13af
committed
Address review feedback: simplify filter e2e tests and fix partial clone verification
- Remove redundant `echo "${FUNCNAME[0]}" > "$REPO/file"` in
filter_partial_clone_blob_none and filter_with_sparse_checkout;
init_repo already initializes $REPO/file with the funcname.
- Replace the silently-failing `remote.origin.partialclonefilter`
check (git-sync fetches by URL, not via the "origin" remote, so
the config keys are never set) with a check for the `.promisor`
pack marker that `git fetch --filter` produces.1 parent 0d0782f commit d8d13af
1 file changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3343 | 3343 | | |
3344 | 3344 | | |
3345 | 3345 | | |
3346 | | - | |
3347 | | - | |
3348 | | - | |
3349 | 3346 | | |
3350 | 3347 | | |
3351 | 3348 | | |
| |||
3357 | 3354 | | |
3358 | 3355 | | |
3359 | 3356 | | |
3360 | | - | |
3361 | | - | |
3362 | | - | |
3363 | | - | |
3364 | | - | |
3365 | | - | |
3366 | | - | |
3367 | | - | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
| 3362 | + | |
3368 | 3363 | | |
3369 | 3364 | | |
3370 | 3365 | | |
| |||
3375 | 3370 | | |
3376 | 3371 | | |
3377 | 3372 | | |
3378 | | - | |
3379 | 3373 | | |
3380 | 3374 | | |
3381 | 3375 | | |
| |||
0 commit comments