oscar, sam: Make git.signing.format explicit
b92cad188c
git: warn on signing format default change
The default value for programs.git.signing.format changed in 25.05
from an implicit "openpgp" to null. Keep the existing gated
mkOptionDefault behavior so the signing block only materializes when
other signing settings are in use, but route the versioned value and
static docs text through the shared state-version helper.
Add a focused current-state-version test that covers a non-empty
signing configuration with no explicit format, alongside the existing
legacy implicit-openpgp and explicit-format tests.
This commit is contained in:
parent
857c950922
commit
862c5d6785
2 changed files with 2 additions and 0 deletions
|
|
@ -252,6 +252,7 @@
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
signing.format = "openpgp";
|
||||||
# TODO: delta or diff-so-fancy or difftastic
|
# TODO: delta or diff-so-fancy or difftastic
|
||||||
settings = {
|
settings = {
|
||||||
user.name = "Chandler Swift";
|
user.name = "Chandler Swift";
|
||||||
|
|
|
||||||
|
|
@ -171,6 +171,7 @@
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
signing.format = "openpgp";
|
||||||
# TODO: delta or diff-so-fancy or difftastic
|
# TODO: delta or diff-so-fancy or difftastic
|
||||||
settings = {
|
settings = {
|
||||||
user.name = "Chandler Swift";
|
user.name = "Chandler Swift";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue