summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2020-12-11 05:13:16 -0800
committerlhchavez <lhchavez@lhchavez.com>2020-12-11 05:13:16 -0800
commit1ab2f577bc070dd7d59cdce6d35b268f3a77fd0d (patch)
treedf033d723629025df864fa4ddd93f36e99470ed1
parent6cd0c8534d81509a330b09f619fe3249f1d121d2 (diff)
downloadlibgit2-1ab2f577bc070dd7d59cdce6d35b268f3a77fd0d.tar.gz
Fix an oops
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index 3a54f8c44..948413d17 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -3066,5 +3066,5 @@ int git_repository_submodule_cache_clear(git_repository *repo)
error = git_submodule_cache_free(repo->submodule_cache);
repo->submodule_cache = NULL;
- return 0;
+ return error;
}