diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-15 12:15:45 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-15 12:15:45 +0200 |
commit | 8a4d77f990b4453e42e3c2cc61df5175b39586d3 (patch) | |
tree | e05eb01f0e986af23e5320d75d2b7ac111cab3ba /tests/diff/diffiter.c | |
parent | 9042693e283f65d9afb4906ed693a862a250664b (diff) | |
download | libgit2-8a4d77f990b4453e42e3c2cc61df5175b39586d3.tar.gz |
path: don't let direach overwrite the callback's error message
This function deals with functions doing IO which means the amount of
errors that can happen is quit large. It does not help if it always
ovewrites the underlying error message with a less understandable
version of "something went wrong".
Instead, only use this generic message if there was no error set by the
callback.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions