]> git.ipfire.org Git - thirdparty/git.git/blobdiff - cache.h
commit_lock_file_to(): refactor a helper out of commit_lock_file()
[thirdparty/git.git] / cache.h
diff --git a/cache.h b/cache.h
index f81d95fc3c6fa5c67a25a885e37fef2504e64f00..414e93ca6be2e1a3429d2ee13427a276bc4ef4a5 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -590,6 +590,7 @@ extern void unable_to_lock_message(const char *path, int err,
 extern NORETURN void unable_to_lock_die(const char *path, int err);
 extern int hold_lock_file_for_update(struct lock_file *, const char *path, int);
 extern int hold_lock_file_for_append(struct lock_file *, const char *path, int);
+extern int commit_lock_file_to(struct lock_file *, const char *path);
 extern int commit_lock_file(struct lock_file *);
 extern int reopen_lock_file(struct lock_file *);
 extern void update_index_if_able(struct index_state *, struct lock_file *);