summaryrefslogtreecommitdiff
path: root/src/config_file.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-09-06 10:08:14 +0200
committerVicent Marti <tanoku@gmail.com>2012-09-06 10:08:14 +0200
commit2e4a9ea9cf8cf12199ea17b0aab50219380b8311 (patch)
tree7bccb1732b38799a51e5e99fa1a8cc50839b0c7f /src/config_file.c
parent27730eefb9b0b4619006fd7d590bca54c0537090 (diff)
parent510f1bac6b94ce19459498ae78f87fc4f4552305 (diff)
downloadlibgit2-2e4a9ea9cf8cf12199ea17b0aab50219380b8311.tar.gz
Merge remote-tracking branch 'arrbee/diff-iterator' into development
Diffstat (limited to 'src/config_file.c')
-rw-r--r--src/config_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config_file.c b/src/config_file.c
index d3fb56aa..c575649a 100644
--- a/src/config_file.c
+++ b/src/config_file.c
@@ -221,6 +221,7 @@ static int file_foreach(
/* abort iterator on non-zero return value */
if (fn(key, var->value, data)) {
+ giterr_clear();
result = GIT_EUSER;
goto cleanup;
}