read-cache: relocate and unexport commit_locked_index()
commit626f35c89332059980251f7cdf8e94bc49d68834
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 13 Jun 2014 12:19:24 +0000 (13 19:19 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jun 2014 18:49:38 +0000 (13 11:49 -0700)
treeac9a21a42736c8d42f4ba97dcd97f0b034c2966f
parent03b86647722f11ccc321cd7279aa49b811d17cc2
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>
cache.h
lockfile.c
read-cache.c