Commit 2d5bd10
committed
[TE-5578] Use explicit merge-base and two-arg diff in collectDiffMetadata
Replace triple-dot syntax (baseBranch...HEAD) with an explicit
git merge-base call followed by two-arg diff (forkPoint, HEAD).
This makes fork-point resolution visible and aligns the plan path
with the backfill path which also uses two-arg diff.
Since both callers now pass exactly two arguments (base and commit),
simplify runDiffCommands from variadic refArgs to named base/commit
parameters and inline the diff calls directly.1 parent a3f9e51 commit 2d5bd10
3 files changed
Lines changed: 41 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
101 | 110 | | |
102 | 111 | | |
103 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
| |||
484 | 486 | | |
485 | 487 | | |
486 | 488 | | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
493 | 496 | | |
494 | 497 | | |
495 | 498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
152 | 140 | | |
153 | 141 | | |
154 | | - | |
| 142 | + | |
155 | 143 | | |
156 | 144 | | |
157 | 145 | | |
158 | 146 | | |
159 | 147 | | |
160 | | - | |
| 148 | + | |
161 | 149 | | |
162 | 150 | | |
163 | 151 | | |
164 | 152 | | |
165 | 153 | | |
166 | 154 | | |
167 | | - | |
| 155 | + | |
168 | 156 | | |
169 | 157 | | |
170 | 158 | | |
171 | 159 | | |
172 | 160 | | |
173 | | - | |
| 161 | + | |
174 | 162 | | |
175 | 163 | | |
176 | 164 | | |
| |||
0 commit comments