Add a trace to more easily show that the index has been smudged.

Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
This commit is contained in:
Marius Storm-Olsen
2007-08-23 22:03:35 +02:00
parent ae3d370abf
commit dd56555ea5

View File

@@ -1104,6 +1104,7 @@ static void ce_smudge_racily_clean_entry(struct cache_entry *ce)
* for "frotz" stays 6 which does not match the filesystem.
*/
ce->ce_size = htonl(0);
trace_printf("trace: index: Index object for '%s' smudged due to being racily clean\n", ce->name);
}
}