Commit 504131a
midx.c: extract MIDX lookup by object_dir
The first thing that write_midx_internal() does is load the MIDX
corresponding to the given object directory, if one is present.
Prepare for other functions in midx.c to do the same thing by extracting
that operation out to a small helper function.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 823b428 commit 504131a
1 file changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
1110 | 1126 | | |
1111 | 1127 | | |
1112 | 1128 | | |
| |||
1120 | 1136 | | |
1121 | 1137 | | |
1122 | 1138 | | |
1123 | | - | |
1124 | 1139 | | |
1125 | 1140 | | |
1126 | 1141 | | |
1127 | 1142 | | |
1128 | 1143 | | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | 1144 | | |
1133 | 1145 | | |
1134 | 1146 | | |
| |||
1140 | 1152 | | |
1141 | 1153 | | |
1142 | 1154 | | |
1143 | | - | |
1144 | | - | |
1145 | | - | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
| 1155 | + | |
1149 | 1156 | | |
1150 | 1157 | | |
1151 | 1158 | | |
| |||
0 commit comments