[PATCH 05/32] read-cache: relocate and unexport commit_locked_index()

2014-06-13 Thread Nguyễn Thái Ngọc Duy
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 --- cache.h | 1 - lockfile.c | 20 read-cache.c | 20 +++

[PATCH 05/32] read-cache: relocate and unexport commit_locked_index()

2014-04-28 Thread Nguyễn Thái Ngọc Duy
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 --- cache.h | 1 - lockfile.c | 20 read-cache.c | 20 +++