Commit Diff


commit - 46387cfba6c02ab7ce52d5d7b065a650b13a1c0a
commit + cd9fd5e0d5b8c88463511594445afdee1f2d440b
blob - f604d6b30be00da4238354c7abb09bd19dc97184
blob + 495bc5a1d44efc6d760792f0976a4cbf808e0b8a
--- Makefile.inc
+++ Makefile.inc
@@ -3,6 +3,7 @@ CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_VERSI
 #CFLAGS += -DGOT_NO_OBJ_CACHE
 #CFLAGS += -DGOT_NO_DELTA_CACHE
 #CFLAGS += -DGOT_OBJ_CACHE_DEBUG
+#CFLAGS += -DGOT_DELTA_CACHE_DEBUG
 #CFLAGS += -DGOT_DIFF_NO_MMAP
 
 .if "${GOT_RELEASE}" == "Yes"
blob - 937f773ec4d344ede28101ce0f83ff4e4b148d28
blob + 09b40b8dd8fc51e6f52338e23640fd344f9a41ea
--- lib/delta_cache.c
+++ lib/delta_cache.c
@@ -101,7 +101,7 @@ got_delta_cache_free(struct got_delta_cache *cache)
 	struct got_cached_delta *delta;
 	unsigned int i;
 
-#ifdef GOT_OBJ_CACHE_DEBUG
+#ifdef GOT_DELTA_CACHE_DEBUG
 	fprintf(stderr, "%s: delta cache: %u elements, %d searches, %d hits, "
 	    "%d missed, %d evicted, %d too large\n", getprogname(),
 	    cache->totelem, cache->cache_search, cache->cache_hit,