File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ test_expect_success 'fetch via rsync' '
301301 mkdir rsynced &&
302302 (cd rsynced &&
303303 git init --bare &&
304- git fetch "rsync:$(pwd)/ ../.git" master:refs/heads/master &&
304+ git fetch "rsync:../.git" master:refs/heads/master &&
305305 git gc --prune &&
306306 test $(git rev-parse master) = $(cd .. && git rev-parse master) &&
307307 git fsck --full)
@@ -312,7 +312,7 @@ test_expect_success 'push via rsync' '
312312 (cd rsynced2 &&
313313 git init) &&
314314 (cd rsynced &&
315- git push "rsync:$(pwd)/ ../rsynced2/.git" master) &&
315+ git push "rsync:../rsynced2/.git" master) &&
316316 (cd rsynced2 &&
317317 git gc --prune &&
318318 test $(git rev-parse master) = $(cd .. && git rev-parse master) &&
@@ -323,7 +323,7 @@ test_expect_success 'push via rsync' '
323323 mkdir rsynced3 &&
324324 (cd rsynced3 &&
325325 git init) &&
326- git push --all "rsync:$(pwd)/ rsynced3/.git" &&
326+ git push --all "rsync:rsynced3/.git" &&
327327 (cd rsynced3 &&
328328 test $(git rev-parse master) = $(cd .. && git rev-parse master) &&
329329 git fsck --full)
You can’t perform that action at this time.
0 commit comments