summaryrefslogtreecommitdiff
path: root/t/t5411/test-0013-bad-protocol.sh
diff options
context:
space:
mode:
authorLibravatar Philippe Blain <levraiphilippeblain@gmail.com>2021-01-03 17:42:15 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-01-04 11:29:36 -0800
commit1f4e9319c7ce25efbb4e8469eff11c53dd079318 (patch)
treefc0f9ca41d0b38be578e47873de4f14e6799e146 /t/t5411/test-0013-bad-protocol.sh
parentGit 2.29.2 (diff)
downloadtgif-1f4e9319c7ce25efbb4e8469eff11c53dd079318.tar.xz
gitmodules.txt: fix 'GIT_WORK_TREE' variable name
'gitmodules.txt' is a guide about the '.gitmodules' file that describes submodule properties, and that file must exist at the root of the repository. This was clarified in e5b5c1d2cf (Document clarification: gitmodules, gitattributes, 2008-08-31). However, that commit mistakenly uses the non-existing environment variable 'GIT_WORK_DIR' to refer to the root of the repository. Fix that by using the correct variable, 'GIT_WORK_TREE'. Take the opportunity to modernize and improve the formatting of that guide, and fix a grammar mistake. Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com> Acked-by: Martin Ă…gren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411/test-0013-bad-protocol.sh')
0 files changed, 0 insertions, 0 deletions