Commit bb38146
committed
Fixes commit signing ignoring git.enableCommitSigning
`getSigningConfig` only checked the repo's `commit.gpgsign`, so users who
enabled signing solely via VS Code's `git.enableCommitSigning` (without
`commit.gpgsign`) were reported as signing-disabled, and GitLens-driven
commits (e.g. the Commit Composer) wouldn't sign.
Threads the host override through `GitServiceConfig.signing.enabled` and
falls back to it when `commit.gpgsign` is unset/false (it can only enable
signing, never force it off). Regression from the standalone-packages refactor.1 parent 0560395 commit bb38146
4 files changed
Lines changed: 20 additions & 5 deletions
File tree
- packages
- git-cli/src/providers
- git/src
- src/git
| 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 | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
441 | 440 | | |
442 | 441 | | |
443 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
99 | 109 | | |
100 | 110 | | |
101 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
0 commit comments