diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-06-20 07:42:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-14 11:54:42 -0700 |
commit | 038d005129467a514189e8cc1321022f71f6a51e (patch) | |
tree | 543f7641ce9b598d6035fd6a1001382e5ed33a31 /Documentation/git-read-tree.txt | |
parent | refs.c: log_ref_write should try to return meaningful errno (diff) | |
download | tgif-038d005129467a514189e8cc1321022f71f6a51e.tar.xz |
refs.c: make ref_update_reject_duplicates take a strbuf argument for errors
Make ref_update_reject_duplicates return any error that occurs through a
new strbuf argument. This means that when a transaction commit fails in
this function we will now be able to pass a helpful error message back to the
caller.
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/git-read-tree.txt')
0 files changed, 0 insertions, 0 deletions