diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-26 20:13:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-26 20:13:16 -0700 |
commit | 149971badc562f4e5ee66c045f40c904fb29eab6 (patch) | |
tree | 020dbffb91e75d4a001bffe52c804018ca2f1e66 /cache.h | |
parent | 4d46ee74e11416e7edf6624611242fe2f98f078c (diff) | |
parent | 483fbe2b7cb89ddcf700a677735d21aa176bc5a6 (diff) | |
download | git-149971badc562f4e5ee66c045f40c904fb29eab6.tar.gz |
Merge branch 'jc/index-update-if-able'
* jc/index-update-if-able:
update $GIT_INDEX_FILE when there are racily clean entries
diff/status: refactor opportunistic index update
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -543,6 +543,7 @@ 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 *); +extern void update_index_if_able(struct index_state *, struct lock_file *); extern int hold_locked_index(struct lock_file *, int); extern int commit_locked_index(struct lock_file *); |