Commit 45bce24
committed
Fixes similarity threshold ignored in diff file listing
`getDiffStatus` used a bare `-M` for rename detection, falling back to Git's
default 50% threshold instead of the configured `gitlens.advanced.similarityThreshold`.
The same value is correctly wired in `getDiffForFileCore`; this restores the
`context.config.commits.similarityThreshold` fallback here too. Regression from
the standalone-packages refactor.1 parent 94eef6b commit 45bce24
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| |||
0 commit comments