summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-31 13:32:11 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-31 13:32:11 -0800
commit1ac2ec6dd833779e2316fe5fc4832c7f86ea6908 (patch)
treee935a42d4f76d3e871ddc4a322b4c42054d1ea5c /read-cache.c
parentMerge branch 'js/mingw-isatty' into maint (diff)
parentdocumentation: retire unfinished documentation (diff)
downloadtgif-1ac2ec6dd833779e2316fe5fc4832c7f86ea6908.tar.xz
Merge branch 'sb/in-core-index-doc' into maint
Documentation and in-code comments updates. * sb/in-core-index-doc: documentation: retire unfinished documentation cache.h: document add_[file_]to_index cache.h: document remove_index_entry_at cache.h: document index_name_pos
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index db5d910642..585ff02dc3 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -510,7 +510,6 @@ int index_name_pos(const struct index_state *istate, const char *name, int namel
return index_name_stage_pos(istate, name, namelen, 0);
}
-/* Remove entry, return true if there are more entries to go.. */
int remove_index_entry_at(struct index_state *istate, int pos)
{
struct cache_entry *ce = istate->cache[pos];