git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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, 16:35 UTC
Message-ID
<1654103856.1228422.1471365329111.JavaMail.zimbra@ensimag.grenoble-inp.fr>
In-Reply-To
<alpine.DEB.2.20.1608161739280.4924@virtualbox>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 20 quoted lines
> Hi Rémi,
> 
> On Tue, 16 Aug 2016, Remi Galan Alfonso wrote:
> 
> > Johannes Schindelin <johannes.schindelin@gmx.de> 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

Previous: Johannes SchindelinNext: Junio C Hamano
Message 8 of 11 in “rev-parse: respect core.hooksPath in --git-path”
  1. rev-parse: respect core.hooksPath in --git-pathJohannes Schindelin, Aug 15, 2016
  2. Jeff KingAug 15, 2016
  3. Johannes SchindelinAug 16, 2016
  4. Jeff KingAug 16, 2016
  5. rev-parse: respect core.hooksPath in --git-pathJohannes Schindelin, Aug 16, 2016
  6. Remi Galan AlfonsoAug 16, 2016
  7. Johannes SchindelinAug 16, 2016
  8. Remi Galan AlfonsoAug 16, 2016
  9. Junio C HamanoAug 16, 2016
  10. Remi Galan AlfonsoAug 17, 2016
  11. Junio C HamanoAug 17, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.