]> git.ipfire.org Git - thirdparty/git.git/commit
packed_refs_lock(): report errors via a `struct strbuf *err`
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 23 Jun 2017 07:01:42 +0000 (09:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Jun 2017 20:27:33 +0000 (13:27 -0700)
commitc8bed835c2a37056aa8f61769c6d8cc7f57bc4d3
tree9ec114009b6eb784ff0f3ce89aa54268f7c1eeea
parentb7de57d8d18a08ab517b4d01151129f521185271
packed_refs_lock(): report errors via a `struct strbuf *err`

That way the callers don't have to come up with error messages
themselves.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c
refs/packed-backend.c
refs/packed-backend.h