Commit 62490b6
commit-graph: pass graphs that are to be merged as parameter
When determining whether or not we want to merge a commit graph chain we
retrieve the graph that is to be merged via the context's repository.
With an upcoming change though it will become a bit more complex to
figure out the commit graph, which would lead to code duplication.
Prepare for this change by passing the graph that is to be merged as a
parameter.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 88bc350 commit 62490b6
1 file changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2226 | 2226 | | |
2227 | 2227 | | |
2228 | 2228 | | |
2229 | | - | |
| 2229 | + | |
| 2230 | + | |
2230 | 2231 | | |
2231 | 2232 | | |
2232 | 2233 | | |
| |||
2245 | 2246 | | |
2246 | 2247 | | |
2247 | 2248 | | |
2248 | | - | |
| 2249 | + | |
2249 | 2250 | | |
2250 | 2251 | | |
2251 | 2252 | | |
| |||
2297 | 2298 | | |
2298 | 2299 | | |
2299 | 2300 | | |
2300 | | - | |
| 2301 | + | |
2301 | 2302 | | |
2302 | 2303 | | |
2303 | 2304 | | |
| |||
2395 | 2396 | | |
2396 | 2397 | | |
2397 | 2398 | | |
2398 | | - | |
| 2399 | + | |
| 2400 | + | |
2399 | 2401 | | |
2400 | | - | |
2401 | 2402 | | |
2402 | 2403 | | |
2403 | 2404 | | |
| |||
2632 | 2633 | | |
2633 | 2634 | | |
2634 | 2635 | | |
2635 | | - | |
| 2636 | + | |
2636 | 2637 | | |
2637 | 2638 | | |
2638 | | - | |
2639 | | - | |
| 2639 | + | |
| 2640 | + | |
2640 | 2641 | | |
| 2642 | + | |
2641 | 2643 | | |
2642 | 2644 | | |
2643 | 2645 | | |
| |||
0 commit comments