{"thread":{"id":"42219","subject":"[PATCH] config: consistently format $variables in monospaced font","startedAt":"2016-05-04T19:24:48Z","lastAt":"2016-05-04T19:24:48Z","messageCount":1,"participants":["Brian Norris"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"285495","messageId":"1462389888-61447-1-git-send-email-computersforpeace@gmail.com","threadId":"42219","inReplyTo":null,"subject":"[PATCH] config: consistently format $variables in monospaced font","fromName":"Brian Norris","fromEmail":"computersforpeace@gmail.com","sentAt":"2016-05-04T19:24:48Z","receivedAt":"2016-05-04T19:24:48Z","isPatch":true,"sender":{"key":"computersforpeace@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2268082?v=4"},"body":"We don't consistently use `backticks` for formatting shell variables.\nThis patch improves the consistency on shell variables (and a few nearby\nmentions of \"gpg\" commands), though it still doesn't straighten out the\nuse of \"quotes.\"\n\nSigned-off-by: Brian Norris <computersforpeace@gmail.com>\n---\n Documentation/config.txt | 22 +++++++++++-----------\n 1 file changed, 11 insertions(+), 11 deletions(-)\n\ndiff --git a/Documentation/config.txt b/Documentation/config.txt\nindex 4c3cd7621ad0..b8de1e98b82d 100644\n--- a/Documentation/config.txt\n+++ b/Documentation/config.txt\n@@ -117,7 +117,7 @@ Example\n \t[include]\n \t\tpath = /path/to/foo.inc ; include by absolute path\n \t\tpath = foo ; expand \"foo\" relative to the current file\n-\t\tpath = ~/foo ; expand \"foo\" in your $HOME directory\n+\t\tpath = ~/foo ; expand \"foo\" in your `$HOME` directory\n \n \n Values\n@@ -496,10 +496,10 @@ repository's usual working tree).\n \n core.logAllRefUpdates::\n \tEnable the reflog. Updates to a ref <ref> is logged to the file\n-\t\"$GIT_DIR/logs/<ref>\", by appending the new and old\n+\t\"`$GIT_DIR/logs/<ref>`\", by appending the new and old\n \tSHA-1, the date/time and the reason of the update, but\n \tonly when the file exists.  If this configuration\n-\tvariable is set to true, missing \"$GIT_DIR/logs/<ref>\"\n+\tvariable is set to true, missing \"`$GIT_DIR/logs/<ref>`\"\n \tfile is automatically created for branch heads (i.e. under\n \trefs/heads/), remote refs (i.e. under refs/remotes/),\n \tnote refs (i.e. under refs/notes/), and the symbolic ref HEAD.\n@@ -606,8 +606,8 @@ core.excludesFile::\n \tSpecifies the pathname to the file that contains patterns to\n \tdescribe paths that are not meant to be tracked, in addition\n \tto '.gitignore' (per-directory) and '.git/info/exclude'.\n-\tDefaults to $XDG_CONFIG_HOME/git/ignore.\n-\tIf $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore\n+\tDefaults to `$XDG_CONFIG_HOME/git/ignore`.\n+\tIf `$XDG_CONFIG_HOME` is either not set or empty, `$HOME/.config/git/ignore`\n \tis used instead. See linkgit:gitignore[5].\n \n core.askPass::\n@@ -624,8 +624,8 @@ core.attributesFile::\n \t'.git/info/attributes', Git looks into this file for attributes\n \t(see linkgit:gitattributes[5]). Path expansions are made the same\n \tway as for `core.excludesFile`. Its default value is\n-\t$XDG_CONFIG_HOME/git/attributes. If $XDG_CONFIG_HOME is either not\n-\tset or empty, $HOME/.config/git/attributes is used instead.\n+\t`$XDG_CONFIG_HOME/git/attributes`. If `$XDG_CONFIG_HOME` is either not\n+\tset or empty, `$HOME/.config/git/attributes` is used instead.\n \n core.editor::\n \tCommands such as `commit` and `tag` that lets you edit\n@@ -1343,7 +1343,7 @@ gc.worktreePruneExpire::\n \t'git worktree prune --expire 3.months.ago'.\n \tThis config variable can be used to set a different grace\n \tperiod. The value \"now\" may be used to disable the grace\n-\tperiod and prune $GIT_DIR/worktrees immediately, or \"never\"\n+\tperiod and prune `$GIT_DIR/worktrees` immediately, or \"never\"\n \tmay be used to suppress pruning.\n \n gc.reflogExpire::\n@@ -1483,13 +1483,13 @@ grep.fallbackToNoIndex::\n \tis executed outside of a git repository.  Defaults to false.\n \n gpg.program::\n-\tUse this custom program instead of \"gpg\" found on $PATH when\n+\tUse this custom program instead of \"`gpg`\" found on `$PATH` when\n \tmaking or verifying a PGP signature. The program must support the\n \tsame command-line interface as GPG, namely, to verify a detached\n-\tsignature, \"gpg --verify $file - <$signature\" is run, and the\n+\tsignature, \"`gpg --verify $file - <$signature`\" is run, and the\n \tprogram is expected to signal a good signature by exiting with\n \tcode 0, and to generate an ASCII-armored detached signature, the\n-\tstandard input of \"gpg -bsau $key\" is fed with the contents to be\n+\tstandard input of \"`gpg -bsau $key`\" is fed with the contents to be\n \tsigned, and the program is expected to send the result to its\n \tstandard output.\n \n-- \n2.8.0.rc3.226.g39d4020\n"}]}