Thread (2 messages) 2 messages, 2 authors, 2020-05-01

Re: [PATCH 1/2] gitcredentials(7): clarify quoting of helper examples

From: Andreas Schwab <hidden>
Date: 2020-05-01 07:19:25

On Mai 01 2020, Jeff King wrote:
 # 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.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help