Thread (6 messages) 6 messages, 3 authors, 2020-05-01

Re: [PATCH] doc: fix quoting bug in credential cache example

From: <hidden>
Date: 2020-05-01 14:40:15

Possibly related (same subject, not in this thread)

On Fri, 2020-05-01 at 02:19 -0400, Jeff King wrote:
On Fri, May 01, 2020 at 01:57:38AM -0400, Jeff King wrote:
quoted
It may be easier to just use double-quotes consistently, even for
ones
that do not need it, to give readers one less thing to wonder
about.
So here's a patch that does that. I also noticed a few other
deficiencies in that final example, which are fixed in the second
patch.

I hope I'm not stealing Douglas's thunder. :)
My one-line patch definitely wasn't thunderous -- I didn't even know
how to write a comment in a config file. As posited upthread, I did
interpret the example as presenting config file syntax, so I got
tripped up by the semicolon there. This patch makes it more clear.

I use git (thanks!) without having looked at the code, so I figured I
was a good example of the target audience for this doc. Thanks for
making it more clear.

Cheers,
--Doug
  [1/2]: gitcredentials(7): clarify quoting of helper examples
  [2/2]: gitcredentials(7): make shell-snippet example more realistic

 Documentation/gitcredentials.txt | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

-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