diff options
author | Ben Peart <benpeart@microsoft.com> | 2018-03-15 11:25:20 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-15 10:58:30 -0700 |
commit | 0e267b7a240454538349407c0101cc17168cebcf (patch) | |
tree | 5e46d2d9bfb91b4a52510ca20992c4787dfe16a5 /commit.c | |
parent | 38e79b1fdab9244e1727d0698afcf3bb8956c0a4 (diff) |
Fix bugs preventing adding updated cache entries to the name hash
Update replace_index_entry() to clear the CE_HASHED flag from the new cache
entry so that it can add it to the name hash in set_index_entry()
Fix refresh_cache_ent() to use the copy_cache_entry() macro instead of memcpy()
so that it doesn't incorrectly copy the hash state from the old entry.
Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions