Re: [PATCH] t9104: kosherly remove remote refs

2018-06-02 Thread SZEDER Gábor
On Fri, Jun 1, 2018 at 7:08 AM, Christian Couder wrote: > 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)" >

Re: [PATCH] t9104: kosherly remove remote refs

2018-06-02 Thread Michael Haggerty
On Fri, Jun 1, 2018 at 7:08 AM, Christian Couder wrote: > As there are plans to implement other ref storage systems, > let's use a way to remove remote refs that does not depend > on refs being files. > > This makes it clear to readers that this test does not > depend on which ref backend is

Re: [PATCH] t9104: kosherly remove remote refs

2018-06-01 Thread Johannes Schindelin
Hi Chris, On Fri, 1 Jun 2018, Christian Couder wrote: > As there are plans to implement other ref storage systems, > let's use a way to remove remote refs that does not depend > on refs being files. > > This makes it clear to readers that this test does not > depend on which ref backend is

[PATCH] t9104: kosherly remove remote refs

2018-05-31 Thread Christian Couder
As there are plans to implement other ref storage systems, let's use a way to remove remote refs that does not depend on refs being files. This makes it clear to readers that this test does not depend on which ref backend is used. Suggested-by: Michael Haggerty Helped-by: Jeff King