diff options
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); + #endif /* REFS_H */ |