Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lockfile.c: make lock_file return a meaningful errno on failurei
[gitweb.git]
/
refs.h
diff --git
a/refs.h
b/refs.h
index 09d3564116974c862f974bc9c86e7a409b1cb48d..64f25d99a35914e18851beef19fe29bbead3182a 100644
(file)
--- a/
refs.h
+++ b/
refs.h
@@
-82,6
+82,7
@@
extern void warn_dangling_symrefs(FILE *fp, const char *msg_fmt, const struct st
/*
* Lock the packed-refs file for writing. Flags is passed to
* hold_lock_file_for_update(). Return 0 on success.
+ * Errno is set to something meaningful on error.
*/
extern int lock_packed_refs(int flags);