Re: [PATCH_v1] add 'git credential' plumbing command
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jun 10, 2012, 21:02 UTC
- Message-ID
- <20120610210224.GA3112@burratino>
- In-Reply-To
- <20120610203259.GA2380@burratino>
Jonathan Nieder wrote:
> Matthieu Moy wrote: >> Junio C Hamano <gitster@pobox.com> writes:
Show 8 quoted lines
>>> Does "git credential" need to have a git repository (i.e. run in a
>>> git repository or in a working tree that is controlled by one)?
>>
>> It shouldn't (hence, should use RUN_SETUP_GENTLY).
>
> Rather, that means it should use 0:
>
> { "credential", cmd_credential },... and it turns out I'm talking nonsense. RUN_SETUP_GENTLY would be a sensible choice indeed, to allow the command to discover the current repository and read .git/config from there indeed.
Sorry for the confusion, Jonathan