mirror of
https://github.com/gopasspw/gopass.git
synced 2026-10-20 04:18:28 +02:00
This disables path unescaping on Windows. Fixes #3225 Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
11 lines
271 B
Go
11 lines
271 B
Go
package config
|
|
|
|
import "github.com/gopasspw/gitconfig"
|
|
|
|
func init() {
|
|
// Disable unescaping of values. This is not strictly conformant with the
|
|
// git config spec, but it avoid interpreting backslashes in paths as linebreaks
|
|
// or tabs.
|
|
gitconfig.CompatMode = true
|
|
}
|