summaryrefslogtreecommitdiff
path: root/tests/diff/diffiter.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-11-04 15:47:35 -0800
committerRussell Belfer <rb@github.com>2013-11-04 15:47:35 -0800
commit3b259cbd1afdc96a3c3eb7af5895b310c1ac2a7d (patch)
tree21ceaee2cbde5248b704f09e634649393af9a9d9 /tests/diff/diffiter.c
parentd6c6016966cff46d874a8d85b38704a6ef2150e5 (diff)
downloadlibgit2-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