Re: [PATCH 1/2] gitcredentials(7): clarify quoting of helper examples
From: Jeff King <hidden> Date: 2020-05-01 07:31:16
On Fri, May 01, 2020 at 09:19:18AM +0200, Andreas Schwab wrote:
On Mai 01 2020, Jeff King wrote:
quoted
# or you can specify your own shell snippet
-!f() { echo "password=`cat $HOME/.secret`"; }; f
+[credential]
+helper = "!f() { echo password=$(cat $HOME/.secret); }; f"
That now lacks a pair of quotes around the argument of echo.