Code

Merge branch 'js/rerere'
[git.git] / refs.h
diff --git a/refs.h b/refs.h
index cd1e1d620e6513cd1542d15763ccd5c07f108e48..51aab1e6bf592ed6412289695d6fe33e5140fab2 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -47,4 +47,7 @@ extern int read_ref_at(const char *ref, unsigned long at_time, int cnt, unsigned
 /** Returns 0 if target has the right format for a ref. **/
 extern int check_ref_format(const char *target);
 
+/** rename ref, return 0 on success **/
+extern int rename_ref(const char *oldref, const char *newref, const char *logmsg);
+
 #endif /* REFS_H */