Skip to content

Commit 90fa1c5

Browse files
committed
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
2 parents 9eb9727 + 78f28e2 commit 90fa1c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

t/t9104-git-svn-follow-parent.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ test_expect_success "multi-fetch continues to work" "
215215
"
216216

217217
test_expect_success "multi-fetch works off a 'clean' repository" '
218-
rm -rf "$GIT_DIR/svn" "$GIT_DIR/refs/remotes" &&
218+
rm -rf "$GIT_DIR/svn" &&
219+
git for-each-ref --format="option no-deref%0adelete %(refname)" refs/remotes |
220+
git update-ref --stdin &&
219221
git reflog expire --all --expire=all &&
220222
mkdir "$GIT_DIR/svn" &&
221223
git svn multi-fetch

0 commit comments

Comments
 (0)