summaryrefslogtreecommitdiff
path: root/t/Git-SVN/Utils/join_paths.t
diff options
context:
space:
mode:
authorLibravatar David Turner <dturner@twopensource.com>2015-07-21 17:04:50 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-07-21 14:07:28 -0700
commita4c653dfcd05c987028b847092a1ee7e5d86a596 (patch)
tree165a443b3011713619fee6ea2c046039edf96568 /t/Git-SVN/Utils/join_paths.t
parentSync with maint (diff)
downloadtgif-a4c653dfcd05c987028b847092a1ee7e5d86a596.tar.xz
refs.c: add err arguments to reflog functions
Add an err argument to log_ref_setup that can explain the reason for a failure. This then eliminates the need to manage errno through this function since we can just add strerror(errno) to the err string when meaningful. No callers relied on errno from this function for anything else than the error message. Also add err arguments to private functions write_ref_to_lockfile, log_ref_write_1, commit_ref_update. This again eliminates the need to manage errno in these functions. Some error messages are slightly reordered. Update of a patch by Ronnie Sahlberg. Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: David Turner <dturner@twopensource.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/Git-SVN/Utils/join_paths.t')
0 files changed, 0 insertions, 0 deletions