summaryrefslogtreecommitdiffstatshomepage
path: root/shared.c
diff options
context:
space:
mode:
authorLars Hjemli2008-01-13 19:16:23 +0100
committerLars Hjemli2008-01-21 08:52:09 +0100
commit776200b1c10536174f68fc6599fc709ae620db54 (patch)
treed5b24090675c5ac7b0ca29459d3246dcb0d7c8af /shared.c
parent2122c696a34133a616b9ec6d72abe9eb89e728aa (diff)
downloadcgit-776200b1c10536174f68fc6599fc709ae620db54.tar
cgit-776200b1c10536174f68fc6599fc709ae620db54.tar.gz
cgit-776200b1c10536174f68fc6599fc709ae620db54.zip
Use GIT-1.5.4.rc4
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c2
1 files changed, 1 insertions, 1 deletions
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) {
0'>150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240