summaryrefslogtreecommitdiff
path: root/tests-clar/clar_libgit2.h
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2012-10-18 14:50:17 -0400
committerPhilip Kelley <phkelley@hotmail.com>2012-10-18 14:50:17 -0400
commitc08b8a3a73c13f95558cd6e34f9c67ab5000a7eb (patch)
tree8b97d3de9516ccfbdbd8dc702ff9ca4cf61a23f2 /tests-clar/clar_libgit2.h
parent4c47a8bcfe03c42096b74d4af06ab95fb95fd211 (diff)
downloadlibgit2-c08b8a3a73c13f95558cd6e34f9c67ab5000a7eb.tar.gz
Update clar and add reliable rename for Win32
Diffstat (limited to 'tests-clar/clar_libgit2.h')
-rw-r--r--tests-clar/clar_libgit2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests-clar/clar_libgit2.h b/tests-clar/clar_libgit2.h
index b4ee74cdb..ce3688ec4 100644
--- a/tests-clar/clar_libgit2.h
+++ b/tests-clar/clar_libgit2.h
@@ -49,6 +49,9 @@ bool cl_is_chmod_supported(void);
char *cl_getenv(const char *name);
int cl_setenv(const char *name, const char *value);
+/* Reliable rename */
+int cl_rename(const char *source, const char *dest);
+
/* Git sandbox setup helpers */
git_repository *cl_git_sandbox_init(const char *sandbox);