git: add news entry about changed escaping

This commit is contained in:
Robert Helgesson 2020-06-18 00:54:41 +02:00
parent bf7297d55c
commit 1f174f6681
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -1576,6 +1576,27 @@ in
A new module is available: 'service.fluidsynth'
'';
}
{
time = "2020-06-17T22:17:52+00:00";
condition = config.programs.git.enable;
message = ''
Since May 1, 2020 string values in Git configurations are
automatically escaped. If you have any manually escaped characters,
then you may need to restore them to their unescaped form to avoid
double escaping.
In other words, if you now have something along the lines of
programs.git.aliases.hello = '''"!echo $'Hello\\nWorld'"''';
you must replace it by the unescaped form
programs.git.aliases.hello = "!echo $'Hello\nWorld'";
Apologies for the belated notification!
'';
}
];
};
}