Commit Diff


commit - f0f17247c9c6cf1f6f2adcf1f1e279b03403b6ea
commit + b5e1b8cdfc1252ab2430c1e9fabc09d393dd1373
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 - 994038a03f12d37d648f3e74efb26408dc0751a9
blob + 7f83d8526e0ca49482325aa4d8a715455e8acbfd
--- 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,