Code

Name hash fixups: export (and rename) remove_hash_entry
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 23 Feb 2008 04:39:21 +0000 (20:39 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Feb 2008 05:24:47 +0000 (21:24 -0800)
commitd070e3a31bf94de1ef503b155a5e028545f7decc
treea394ab813127f35832d04fd05c462f651e6d6310
parenta22c637124a2f591382d56546136a8e2bb2c2c66
Name hash fixups: export (and rename) remove_hash_entry

This makes the name hash removal function (which really just sets the
bit that disables lookups of it) available to external routines, and
makes read_cache_unmerged() use it when it drops an unmerged entry from
the index.

It's renamed to remove_index_entry(), and we drop the (unused) 'istate'
argument.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-read-tree.c
cache.h
read-cache.c