Re: [PATCH v6 32/32] tests: add ref-storage argument

2016-02-29 Thread David Turner
On Mon, 2016-02-29 at 23:52 +0100, SZEDER Gábor wrote: > As far as these tests are concerned any subdirectory under .git/ > would > do, it doesn't have to be .git/refs/heads. How about cd-ing into a > different directory instead of creating the missing ones? Good idea, thanks. -- To unsubscribe

Re: [PATCH v6 32/32] tests: add ref-storage argument

2016-02-29 Thread SZEDER Gábor
Hi, > diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh > index 2ba62fb..d5751e2 100755 > --- a/t/t9902-completion.sh > +++ b/t/t9902-completion.sh > @@ -126,7 +126,7 @@ actual="$TRASH_DIRECTORY/actual" > > test_expect_success 'setup for __gitdir tests' ' > mkdir -p subdir/subsub

[PATCH v6 32/32] tests: add ref-storage argument

2016-02-24 Thread David Turner
Add a --ref-storage argument to make it easy to test alternate ref storage backends. This means that every test that calls git init or git clone must use the new ref storage argument. Modify many tests to work under alternate ref storage backends. Introduce abstractions for raw ref/reflog readin