summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2017-01-18 19:18:52 -0800
committerJunio C Hamano <gitster@pobox.com>2017-01-19 12:17:57 -0800
commit3bd72adff1f4435898508f5c74227aaa2561c182 (patch)
tree4ee71af9f1e3a91c4e58889777866e58f352d8aa /read-cache.c
parent12733e9dd39411be4cd6a9a437faa7d86df159c2 (diff)
downloadgit-3bd72adff1f4435898508f5c74227aaa2561c182.tar.gz
cache.h: document remove_index_entry_at
Do this by moving the existing documentation from read-cache.c to cache.h. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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];