Re: [PATCH 1/3] t5523-push-upstream: add function to ensure fresh upstream repo From: Jonathan Nieder <hidden> Date: 2016-06-15 22:49:46 Tay Ray Chuan wrote: quoted hunk ↗ jump to hunk--- a/t/t5523-push-upstream.sh +++ b/t/t5523-push-upstream.sh@@ -3,8 +3,14 @@ test_description='push with --set-upstream' . ./test-lib.sh +ensure_fresh_upstream() { + test -d parent && + rm -rf parent + git init --bare parent +} Wouldn't rm -rf parent && git init --bare parent do it?
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help