Thread (14 messages) flat view 14 messages, 4 authors, 2016-06-15

Re: [PATCH] credentials: unable to connect to cache daemon

From: Jeff King <hidden>
Date: 2016-06-15 22:52:44

On Sat, Jan 07, 2012 at 12:54:36PM +0100, Clemens Buchacher wrote:
Error out if we just spawned the daemon and yet we cannot connect.
Actually it was intentional not to produce an error. The cache helper is
just a cache, so I consider it "best effort", and if it cannot cache a
password, it's not the end of the world. Git should continue, anyway.

That being said, it's probably nicer to be informative in this case than
not, since it is a configuration error the user probably would like to
fix. And since the rewrite of the credential helper API, it's OK for
helpers to return a failing exit code; git will just ignore it and keep
going.

So I think this is a reasonable thing to do.

Acked-by: Jeff King <redacted>
And always release the string buffer.
Oops, thanks.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help