aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
authorGravatar YAEGASHI Takeshi <yaegashi@debian.org>2014-03-02 17:00:16 (JST)
committerGravatar YAEGASHI Takeshi <yaegashi@debian.org>2014-03-02 17:00:16 (JST)
commit667bf9f6ed38daac4e4d7e88903eb0f28319c165 (patch)
treed7d36d505fb3c183bdec673c6e294b27e1a12310 /shared.c
parent1f57ee005551ae7ee2b387f14eb7dd104a120ee3 (diff)
parentf2fa9c56e29ae32bbe5841e7bfe0217ada4e3df9 (diff)
downloadcgit-667bf9f6ed38daac4e4d7e88903eb0f28319c165.zip
cgit-667bf9f6ed38daac4e4d7e88903eb0f28319c165.tar.gz
Merge tag 'v0.10.1'
CGIT 0.10.1
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 7e88bbd..8ed14c0 100644
--- a/shared.c
+++ b/shared.c
@@ -368,6 +368,7 @@ void cgit_diff_tree(const unsigned char *old_sha1,
368 struct diff_options opt; 368 struct diff_options opt;
369 struct pathspec_item item; 369 struct pathspec_item item;
370 370
371 memset(&item, 0, sizeof(item));
371 diff_setup(&opt); 372 diff_setup(&opt);
372 opt.output_format = DIFF_FORMAT_CALLBACK; 373 opt.output_format = DIFF_FORMAT_CALLBACK;
373 opt.detect_rename = 1; 374 opt.detect_rename = 1;