files_log_ref_write: new function
[gitweb.git] / refs / refs-internal.h
index 9077c114d00d8056e8aa8fd7e01b9c020f5f8627..7b6c8bcb7487574300273aabde328856ea30ff93 100644 (file)
@@ -177,4 +177,8 @@ struct ref_transaction {
        enum ref_transaction_state state;
 };
 
+int files_log_ref_write(const char *refname, const unsigned char *old_sha1,
+                       const unsigned char *new_sha1, const char *msg,
+                       int flags, struct strbuf *err);
+
 #endif /* REFS_REFS_INTERNAL_H */