]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
lock_ref_sha1_basic(): report errors via a "struct strbuf *err"
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 11 May 2015 15:25:15 +0000 (17:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2015 18:50:19 +0000 (11:50 -0700)
commit4a32b2e08be8daf965949956e8ea16718797a031
tree5bd0382ea38ca67da41b96a257d9349038f5b47b
parent1146f17e2ce6054b502a46bafc102312c60a8380
lock_ref_sha1_basic(): report errors via a "struct strbuf *err"

For now, change the callers to spew the error to stderr like before.
But soon we will change them to incorporate the reason for the failure
into their own error messages.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
refs.c