Re: [PATCH v2] rev-parse: respect core.hooksPath in --git-path
- From
Remi Galan Alfonso <remi.galan-alfonso@ensimag.grenoble-inp.fr>
- Date
- Aug 16, 2016, 15:29 UTC
- Message-ID
- <1134106438.1228353.1471361364992.JavaMail.zimbra@ensimag.grenoble-inp.fr>
- In-Reply-To
- <ce8891377cec31cada49208f2d192dda86658e40.1471353054.git.johannes.schindelin@gmx.de>
Hi Johannes,
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
Show 10 quoted lines
> 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?
Thanks, Rémi