summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-06-20 14:42:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-14 18:54:42 (GMT)
commitc1703d7634a61b4d08d77fa0d9ca7e7ad92c3cb8 (patch)
tree1847c07108a6cc12a736aa349680362ca58252ac /builtin
parent038d005129467a514189e8cc1321022f71f6a51e (diff)
downloadgit-c1703d7634a61b4d08d77fa0d9ca7e7ad92c3cb8.zip
git-c1703d7634a61b4d08d77fa0d9ca7e7ad92c3cb8.tar.gz
git-c1703d7634a61b4d08d77fa0d9ca7e7ad92c3cb8.tar.bz2
refs.c: make update_ref_write update a strbuf on failure
Change update_ref_write to also update an error strbuf on failure. This makes the error available to ref_transaction_commit callers if the transaction failed due to update_ref_sha1/write_ref_sha1 failures. Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 'builtin')
0 files changed, 0 insertions, 0 deletions