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

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.
Right, as discussed in the commit message.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help