diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-06-20 07:42:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-14 11:54:42 -0700 |
commit | c1703d7634a61b4d08d77fa0d9ca7e7ad92c3cb8 (patch) | |
tree | 1847c07108a6cc12a736aa349680362ca58252ac /Documentation/urls-remotes.txt | |
parent | refs.c: make ref_update_reject_duplicates take a strbuf argument for errors (diff) | |
download | tgif-c1703d7634a61b4d08d77fa0d9ca7e7ad92c3cb8.tar.xz |
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 'Documentation/urls-remotes.txt')
0 files changed, 0 insertions, 0 deletions