diff options
author | Russell Belfer <rb@github.com> | 2013-11-04 15:47:35 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-11-04 15:47:35 -0800 |
commit | 3b259cbd1afdc96a3c3eb7af5895b310c1ac2a7d (patch) | |
tree | 21ceaee2cbde5248b704f09e634649393af9a9d9 /tests/diff/diffiter.c | |
parent | d6c6016966cff46d874a8d85b38704a6ef2150e5 (diff) | |
download | libgit2-3b259cbd1afdc96a3c3eb7af5895b310c1ac2a7d.tar.gz |
Preserve file error in iterator
When the filesystem iterator encounters an error with a file, it
returns the error but because of the cleanup code, it was in some
cases erasing the error message. This uses the giterr_detach API
to make sure that the actual error message is restored after the
cleanup code has been run.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions