summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-31 21:14:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-31 21:14:59 (GMT)
commitfeaad0eec78b8f23e2cf0566c5ddcd0a459ab325 (patch)
treedaa0c09fd1f7640e539d525027eafca0848f9c35 /read-cache.c
parentfe575f06532bde1e672a2313fd76ef09b66fc355 (diff)
parent830c912a0ed5d0771e9043cd51b87322230c8b6f (diff)
downloadgit-feaad0eec78b8f23e2cf0566c5ddcd0a459ab325.zip
git-feaad0eec78b8f23e2cf0566c5ddcd0a459ab325.tar.gz
git-feaad0eec78b8f23e2cf0566c5ddcd0a459ab325.tar.bz2
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 7a9a7de..9054369 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];