You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String values may be entirely or partially enclosed in double quotes. You need to enclose variable values in double quotes if you want to preserve leading or trailing whitespace, or if the variable value contains comment characters (i.e. it contains # or ;). Double quote " and backslash \ characters in variable values must be escaped: use " for " and \ for .
That is, the backslashes are not escaped in the configuration file.
This also cause issues in while reading, because values are not un-escaped.
The text was updated successfully, but these errors were encountered:
Steps to reproduce the issue:
Now if you try to read this value using a regular (non Python)
git config
, Git complains that the configuration file is invalid:Indeed, if you open
.git/config
you can see that the value is written as:While the
git-config
configuration states that:That is, the backslashes are not escaped in the configuration file.
This also cause issues in while reading, because values are not un-escaped.
The text was updated successfully, but these errors were encountered: