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>
This commit is contained in:

committed by
Junio C Hamano

parent
12733e9dd3
commit
3bd72adff1
@ -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];
|
||||
|
Reference in New Issue
Block a user