Commit 90fa1c5d authored by Junio C Hamano's avatar Junio C Hamano

Merge branch 'cc/tests-without-assuming-ref-files-backend'

Instead of mucking with filesystem directly, use plumbing commands
update-ref etc. to manipulate the refs in the tests.

* cc/tests-without-assuming-ref-files-backend:
  t9104: kosherly remove remote refs
parents 9eb97278 78f28e2a
......@@ -215,7 +215,9 @@ test_expect_success "multi-fetch continues to work" "
"
test_expect_success "multi-fetch works off a 'clean' repository" '
rm -rf "$GIT_DIR/svn" "$GIT_DIR/refs/remotes" &&
rm -rf "$GIT_DIR/svn" &&
git for-each-ref --format="option no-deref%0adelete %(refname)" refs/remotes |
git update-ref --stdin &&
git reflog expire --all --expire=all &&
mkdir "$GIT_DIR/svn" &&
git svn multi-fetch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment