summaryrefslogtreecommitdiffstats
path: root/line-range.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-04-17 00:26:44 +0200
committerJunio C Hamano <gitster@pobox.com>2014-09-03 19:04:07 +0200
commitb416af5bcdca3ac8426220f09efbfca2f1bec6e0 (patch)
tree6a400b374ec600c38bdf039443a788f75720d147 /line-range.c
parentrefs.c: change ref_transaction_update() to do error checking and return status (diff)
downloadgit-b416af5bcdca3ac8426220f09efbfca2f1bec6e0.tar.xz
git-b416af5bcdca3ac8426220f09efbfca2f1bec6e0.zip
refs.c: change ref_transaction_create to do error checking and return status
Do basic error checking in ref_transaction_create() and make it return non-zero on error. Update all callers to check the result of ref_transaction_create(). There are currently no conditions in _create that will return error but there will be in the future. Add an err argument that will be updated on failure. Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'line-range.c')
0 files changed, 0 insertions, 0 deletions