aboutsummaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-10-30 15:29:53 -0800
committerJunio C Hamano <junkio@cox.net>2006-10-30 15:29:53 -0800
commit4903161fb8c74bc583b21d7ffe7abaf223df4253 (patch)
tree7aafe696d1b1a04d94d4c62a521c41d0d3e15e0f /cache-tree.c
parentd6b7e0b98f8d0f84e3b2614b33b52402fefb5735 (diff)
downloadgit-4903161fb8c74bc583b21d7ffe7abaf223df4253.tar.gz
git-4903161fb8c74bc583b21d7ffe7abaf223df4253.tar.xz
Surround "#define DEBUG 0" with "#ifndef DEBUG..#endif"
Otherwise "make CFLAGS=-DDEBUG=1" is cumbersome to run. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache-tree.c')
-rw-r--r--cache-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache-tree.c b/cache-tree.c
index d388848dd..a80326289 100644
--- a/cache-tree.c
+++ b/cache-tree.c
@@ -2,7 +2,9 @@
#include "tree.h"
#include "cache-tree.h"
+#ifndef DEBUG
#define DEBUG 0
+#endif
struct cache_tree *cache_tree(void)
{