summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-19 23:44:07 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-19 23:44:07 -0800
commit8c5b85ce87d15e4db37a6408f03b0eb71dde080e (patch)
tree71b226a7452da6d52d07a60c9957424cd64d0a19 /cache.h
parent7d233dea5f4e299fdac8d6cfb610bcd4d60a82b7 (diff)
parente43a6fd3e94888d76779ad79fb568ed180e5fcdf (diff)
downloadgit-8c5b85ce87d15e4db37a6408f03b0eb71dde080e.tar.gz
Merge branch 'maint'
* maint: More friendly message when locking the index fails. Document git blame --reverse. Documentation: Note file formats send-email accepts
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 21bbf9b119..21a63103d5 100644
--- a/cache.h
+++ b/cache.h
@@ -484,6 +484,7 @@ struct lock_file {
};
#define LOCK_DIE_ON_ERROR 1
#define LOCK_NODEREF 2
+extern NORETURN void unable_to_lock_index_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(struct lock_file *);