From dd56555ea5cd03958dc2f987f2776efbab571452 Mon Sep 17 00:00:00 2001 From: Marius Storm-Olsen Date: Thu, 23 Aug 2007 22:03:35 +0200 Subject: [PATCH] Add a trace to more easily show that the index has been smudged. Signed-off-by: Marius Storm-Olsen --- read-cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/read-cache.c b/read-cache.c index 84c6b47eb8..23d16a40ef 100644 --- a/read-cache.c +++ b/read-cache.c @@ -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); } }