Re: git config --get-urlmatch does not set exit code 1 when no match is found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 29, 2016 at 06:38:28PM +0530, Guilherme wrote:

> @Peff Thank you for the heads up.
> 
> I'm trying to find out if there are any credential helpers configured
> in the system that will be running tests. On the dedicated test
> machines that is not a problem but the developer machines are.

Do you need to do it in an automated way, or just once?

If manual is OK, I suspect running:

  GIT_TRACE=1 git credential </dev/null

will give you a list of what gets run. That's awfully hacky, though.
Probably a "git credential list" command would be useful. Or just
adapting it to use the urlmatch stuff.

> Should I already post a pre-emptive email asking about the corner cases?
> 
> More importantly for me is if there is a case where get-url would not
> show a match where git clone would. If git clone skips a configuration
> that config url-match doesn't then it's not so bad.

Sorry, I don't recall the details. I feel like we discussed it a little
on the list, but I can't find it now. The closest I could find is:

  http://article.gmane.org/gmane.comp.version-control.git/267895

I think the main differences would be in ordering, not in what is
selected.

-Peff
--
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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]