Commit 8995d2c
committed
refactor: extract rewritten-list reading logic into apply.ts
...because completely related to the logic of "doesNeedToApply",
"markThatNeedsToApply", "markThatApplied", etc.
thought about extracting the above utils into a separate, "rewrittenList.ts" file,
but it doesn't make sense to separate the utils out from "apply" itself,
because if we have the "rewrittenList.ts" file, then it'd sound
reasonable to move the "reduce-path"'s "combineRewrittenLists" there as well,
but it doesnt, because the apply logic is not related to the
parsing/combinning logic.
Signed-off-by: Kipras Melnikovas <[email protected]>1 parent b31d48d commit 8995d2c
File tree
2 files changed
+46
-20
lines changed- parse-todo-of-stacked-rebase
2 files changed
+46
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
159 | 201 | | |
160 | 202 | | |
161 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | | - | |
| 9 | + | |
| 10 | + | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 23 | + | |
40 | 24 | | |
41 | 25 | | |
42 | 26 | | |
43 | 27 | | |
44 | 28 | | |
45 | 29 | | |
46 | | - | |
| 30 | + | |
47 | 31 | | |
48 | 32 | | |
49 | 33 | | |
| |||
0 commit comments