Commit 68c9fcb
rebase-update-refs: extract load_branch_decorations
Extract load_branch_decorations from todo_list_add_update_ref_commands so
it can be re-used in make_script_with_merges.
Since it can now be called multiple times, use non-static lists and place
it next to load_ref_decorations to re-use the decoration_loaded guard.
Signed-off-by: Nicolas Guichard <nicolas@guichard.eu>
Acked-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent e4d03b7 commit 68c9fcb
3 files changed
Lines changed: 23 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
251 | 272 | | |
252 | 273 | | |
253 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6403 | 6403 | | |
6404 | 6404 | | |
6405 | 6405 | | |
6406 | | - | |
6407 | | - | |
6408 | | - | |
6409 | | - | |
6410 | | - | |
6411 | | - | |
6412 | | - | |
6413 | | - | |
6414 | 6406 | | |
6415 | 6407 | | |
6416 | 6408 | | |
| |||
6419 | 6411 | | |
6420 | 6412 | | |
6421 | 6413 | | |
6422 | | - | |
6423 | | - | |
| 6414 | + | |
6424 | 6415 | | |
6425 | 6416 | | |
6426 | 6417 | | |
| |||
0 commit comments