Re: [PATCH 1/1] Git config allows value setting from stdin

2019-09-17 Thread Junio C Hamano
Zeger-Jan van de Weg writes: > Subject: Re: [PATCH 1/1] Git config allows value setting from stdin Probably something like this, with the ":" prefix. config: learn the --stdin option to take args from the standard input > When setting values in the git config, the valu

[PATCH 1/1] Git config allows value setting from stdin

2019-09-17 Thread Zeger-Jan van de Weg
When setting values in the git config, the value is part of the arguments for execution. This potentially leaks the value through logging, or other programs like `ps`. Prior to this change, there was no option to do this. This change adds the `--stdin` to be combined with `--add`. When passed, the