summaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorTom Russello <tom.russello@grenoble-inp.org>2016-06-07 22:35:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-08 19:04:37 (GMT)
commit47d81b5c7a3e7737d26b877a5cfebb772d75fa12 (patch)
tree409da6227567535a301d2502ac7b943cba79df22 /Documentation/git-commit.txt
parenteee7f4a233733b661e2e75e75a3b52312619112c (diff)
downloadgit-47d81b5c7a3e7737d26b877a5cfebb772d75fa12.zip
git-47d81b5c7a3e7737d26b877a5cfebb772d75fa12.tar.gz
git-47d81b5c7a3e7737d26b877a5cfebb772d75fa12.tar.bz2
doc: more consistency in environment variables format
Wrap with backticks (monospaced font) unwrapped or single-quotes wrapped (italic type) environment variables which are followed by the word "environment". It was obtained with: perl -pi -e "s/\'?(\\\$?[0-9A-Z\_]+)\'?(?= environment ?)/\`\1\`/g" *.txt One of the main purposes is to stick to the CodingGuidelines as possible so that people writting new documentation by mimicking the existing are more likely to have it right (even if they didn't read the CodingGuidelines). Signed-off-by: Tom Russello <tom.russello@grenoble-inp.org> Signed-off-by: Erwan Mathoniere <erwan.mathoniere@grenoble-inp.org> Signed-off-by: Samuel Groot <samuel.groot@grenoble-inp.org> Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr> Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 9ec6b3c..3fd7ff1 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -449,8 +449,8 @@ include::i18n.txt[]
ENVIRONMENT AND CONFIGURATION VARIABLES
---------------------------------------
The editor used to edit the commit log message will be chosen from the
-GIT_EDITOR environment variable, the core.editor configuration variable, the
-VISUAL environment variable, or the EDITOR environment variable (in that
+`GIT_EDITOR` environment variable, the core.editor configuration variable, the
+`VISUAL` environment variable, or the `EDITOR` environment variable (in that
order). See linkgit:git-var[1] for details.
HOOKS