summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-06-13 12:19:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-06-13 18:49:38 (GMT)
commit626f35c89332059980251f7cdf8e94bc49d68834 (patch)
treeac9a21a42736c8d42f4ba97dcd97f0b034c2966f /cache.h
parent03b86647722f11ccc321cd7279aa49b811d17cc2 (diff)
downloadgit-626f35c89332059980251f7cdf8e94bc49d68834.zip
git-626f35c89332059980251f7cdf8e94bc49d68834.tar.gz
git-626f35c89332059980251f7cdf8e94bc49d68834.tar.bz2
read-cache: relocate and unexport commit_locked_index()
This function is now only used by write_locked_index(). Move it to read-cache.c (because read-cache.c will need to be aware of alternate_index_output later) and unexport it. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 9cc2b97..e44048c 100644
--- a/cache.h
+++ b/cache.h
@@ -552,7 +552,6 @@ 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 *);
extern void set_alternate_index_output(const char *);
extern int close_lock_file(struct lock_file *);
extern void rollback_lock_file(struct lock_file *);