Commit af82c78
combine-diff: combine_diff_path.len is not needed anymore
The field was used in order to speed-up name comparison and also to
mark removed paths by setting it to 0.
Because the updated code does significantly less strcmp and also
just removes paths from the list and free right after we know a path
will not be needed, it is not needed anymore.
Signed-off-by: Kirill Smelkov <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent 8518ff8 commit af82c78
3 files changed
+9
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
1234 | 1233 | | |
1235 | 1234 | | |
1236 | 1235 | | |
1237 | | - | |
1238 | | - | |
1239 | 1236 | | |
1240 | 1237 | | |
1241 | 1238 | | |
| |||
1299 | 1296 | | |
1300 | 1297 | | |
1301 | 1298 | | |
1302 | | - | |
1303 | | - | |
1304 | | - | |
| 1299 | + | |
1305 | 1300 | | |
1306 | | - | |
1307 | 1301 | | |
1308 | 1302 | | |
1309 | 1303 | | |
| |||
1369 | 1363 | | |
1370 | 1364 | | |
1371 | 1365 | | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
1377 | 1369 | | |
1378 | 1370 | | |
1379 | 1371 | | |
| |||
1399 | 1391 | | |
1400 | 1392 | | |
1401 | 1393 | | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
| 1394 | + | |
| 1395 | + | |
1406 | 1396 | | |
1407 | 1397 | | |
1408 | 1398 | | |
| |||
1415 | 1405 | | |
1416 | 1406 | | |
1417 | 1407 | | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
1423 | 1411 | | |
1424 | 1412 | | |
1425 | 1413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
| |||
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
329 | | - | |
330 | 328 | | |
331 | 329 | | |
332 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
0 commit comments