From: douglas.fuller@gmail.com Date: Thu, 30 Apr 2020 14:36:47 GMT Subject: [PATCH] doc: fix quoting bug in credential cache example Message-ID: <63f35287c9ced4d674f938bedd439aefa6c46f41.camel@gmail.com> Unquoted semicolons are considered shell argument separators, quote them so the example works correctly. Signed-off-by: Douglas Fuller --- Documentation/gitcredentials.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gitcredentials.txt b/Documentation/gitcredentials.txt index 1814d2d23c..fb16c71cfe 100644 --- a/Documentation/gitcredentials.txt +++ b/Documentation/gitcredentials.txt @@ -229,7 +229,7 @@ foo --bar="whitespace arg" /path/to/my/helper --with-arguments # or you can specify your own shell snippet -!f() { echo "password=`cat $HOME/.secret`"; }; f +"!f() { echo password=`cat $HOME/.secret`; }; f" ---------------------------------------------------- Generally speaking, rule (3) above is the simplest for users to specify. -- 2.26.2