From: Remi Galan Alfonso Date: Tue, 16 Aug 2016 16:35:29 GMT Subject: Re: [PATCH v2] rev-parse: respect core.hooksPath in --git-path Message-ID: <1654103856.1228422.1471365329111.JavaMail.zimbra@ensimag.grenoble-inp.fr> In-Reply-To: Johannes Schindelin writes: > Hi Rémi, > > On Tue, 16 Aug 2016, Remi Galan Alfonso wrote: > > > Johannes Schindelin writes: > > > diff --git a/t/t1350-config-hooks-path.sh b/t/t1350-config-hooks-path.sh > > > index 5e3fb3a..f1f9aee 100755 > > > --- a/t/t1350-config-hooks-path.sh > > > +++ b/t/t1350-config-hooks-path.sh > > > @@ -34,4 +34,10 @@ test_expect_success 'Check that various forms of specifying core.hooksPath work' > > > test_cmp expect actual > > > ' > > > > > > +test_expect_success 'git rev-parse --git-path hooks' ' > > > + git config core.hooksPath .git/custom-hooks && > > > > Any reason to not use 'test_config' here? > > Yes: consistency. The rest of the script uses `git config`, not > `test_config`. Fine by me, then. Sorry for the noise. > Ciao, > Dscho Ciao, Rémi