summaryrefslogtreecommitdiff
path: root/t/t0110/url-11
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-05-01 03:33:05 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-05-01 10:47:03 -0700
commitdbe80f928c762db21bb19d6969a804d437978741 (patch)
tree23aba4d3a18467e8557bdea92dc9e8940d6c93ab /t/t0110/url-11
parentGit 2.26.2 (diff)
downloadtgif-dbe80f928c762db21bb19d6969a804d437978741.tar.xz
gitcredentials(7): clarify quoting of helper examples
We give several helper config examples, but don't make clear that these are raw values. It's up to the user to add the appropriate quoting to put them into a config file (either by running with "git config" and quoting against the shell, or by adding double-quotes as appropriate within the git-config file). Let's flesh them out as full config blocks, which makes the syntax more clear (and makes it possible for people to just cut-and-paste them as a starting point). I added double-quotes to any values larger than a single word. That isn't strictly necessary in all cases, but it sidesteps explaining the rules about exactly when you need to quote a value. The existing quotes can be converted to single-quotes in one instance, and backslash-esccaped in the other. I also swapped out backticks for our preferred $(). Reported-by: douglas.fuller@gmail.com Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0110/url-11')
0 files changed, 0 insertions, 0 deletions