diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
Use GIT-1.5.4.rc4
Diffstat (limited to '')
-rw-r--r--shared.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/shared.c b/shared.c
index bf0581f..f063894 100644
--- a/shared.c
+++ b/shared.c
@@ -492,7 +492,7 @@ void cgit_diff_tree(const unsigned char *old_sha1,
opt.output_format = DIFF_FORMAT_CALLBACK;
opt.detect_rename = 1;
opt.rename_limit = cgit_renamelimit;
- opt.recursive = 1;
+ DIFF_OPT_SET(&opt, RECURSIVE);
opt.format_callback = cgit_diff_tree_cb;
opt.format_callback_data = fn;
if (prefix) {