Matthieu Moy wrote:
> Junio C Hamano <gitster@xxxxxxxxx> writes:
>> 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 },
[...]
> Actually, "git credential" has very little to do with Git, and could
> even be used in a git-unrelated script.
I suspect it would be simplest to make it a non-builtin. There are
some examples to take inspiration from in the PROGRAM_OBJS variable of
the Makefile.
Hope that helps,
Jonathan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Newbies FAQ] [Linux Kernel Development] [Free Online Dating] [Gcc Help] [IETF Annouce] [DCCP] [Netdev] [Networking] [Security] [V4L] [Bugtraq] [Free Online Dating] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [Fedora Users] [Linux Resources]