Commit 4c0c181
merge-recursive: Remove redundant path clearing for D/F conflicts
The code had several places where individual checks were done to remove
files that could be in the way of directories in D/F conflicts. Not all
D/F conflicts could have a path cleared for them in such a manner, however,
leading to the need to create make_room_for_directories_of_df_conflicts()
as done in the previous patch. That new function could not have been
incorporated into the code sooner, since not all relevant code paths had
been deferred to process_df_entry() yet, leading to the creation of even
more of these now-redundant path removals.
Clean out all of these extra D/F path clearing cases.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ef02b31 commit 4c0c181
1 file changed
Lines changed: 2 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1032 | 1032 | | |
1033 | 1033 | | |
1034 | 1034 | | |
1035 | | - | |
1036 | | - | |
1037 | 1035 | | |
1038 | 1036 | | |
1039 | 1037 | | |
| |||
1077 | 1075 | | |
1078 | 1076 | | |
1079 | 1077 | | |
1080 | | - | |
1081 | 1078 | | |
1082 | 1079 | | |
1083 | 1080 | | |
| |||
1156 | 1153 | | |
1157 | 1154 | | |
1158 | 1155 | | |
1159 | | - | |
1160 | 1156 | | |
1161 | 1157 | | |
1162 | 1158 | | |
| |||
1338 | 1334 | | |
1339 | 1335 | | |
1340 | 1336 | | |
1341 | | - | |
| 1337 | + | |
1342 | 1338 | | |
1343 | 1339 | | |
1344 | 1340 | | |
| |||
1362 | 1358 | | |
1363 | 1359 | | |
1364 | 1360 | | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
| 1361 | + | |
1374 | 1362 | | |
1375 | 1363 | | |
1376 | 1364 | | |
| |||
1492 | 1480 | | |
1493 | 1481 | | |
1494 | 1482 | | |
1495 | | - | |
1496 | 1483 | | |
1497 | 1484 | | |
1498 | 1485 | | |
| |||
0 commit comments