Tay Ray Chuan wrote: > --- 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? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html