Commit 4020dff
packfile: inline
The `find_kept_pack_entry()` function is only used in
`has_oject_kept_pack()`, which is only a trivial wrapper itself. Inline
the latter into the former.
Furthermore, reorder the code so that we can drop the declaration of the
function in "packfile.h". This allow us to make the function file-local.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>find_kept_pack_entry()
1 parent 7bfa9a6 commit 4020dff
2 files changed
+10
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2215 | 2215 | | |
2216 | 2216 | | |
2217 | 2217 | | |
2218 | | - | |
2219 | | - | |
2220 | | - | |
2221 | | - | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
2222 | 2226 | | |
2223 | 2227 | | |
| 2228 | + | |
2224 | 2229 | | |
2225 | 2230 | | |
2226 | 2231 | | |
| |||
2229 | 2234 | | |
2230 | 2235 | | |
2231 | 2236 | | |
2232 | | - | |
| 2237 | + | |
2233 | 2238 | | |
2234 | 2239 | | |
2235 | 2240 | | |
2236 | 2241 | | |
2237 | 2242 | | |
2238 | 2243 | | |
2239 | 2244 | | |
2240 | | - | |
2241 | | - | |
2242 | | - | |
2243 | | - | |
2244 | | - | |
2245 | | - | |
2246 | | - | |
2247 | | - | |
2248 | | - | |
2249 | | - | |
2250 | | - | |
2251 | | - | |
2252 | | - | |
2253 | 2245 | | |
2254 | 2246 | | |
2255 | 2247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | 447 | | |
454 | 448 | | |
455 | 449 | | |
| |||
0 commit comments