summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-31 13:14:59 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-31 13:14:59 -0800
commitfeaad0eec78b8f23e2cf0566c5ddcd0a459ab325 (patch)
treedaa0c09fd1f7640e539d525027eafca0848f9c35 /read-cache.c
parentMerge branch 'js/remote-rename-with-half-configured-remote' (diff)
parentdocumentation: retire unfinished documentation (diff)
downloadtgif-feaad0eec78b8f23e2cf0566c5ddcd0a459ab325.tar.xz
Merge branch 'sb/in-core-index-doc'
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 7a9a7de91e..9054369dd0 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -503,7 +503,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];