Revision 1f4e9319c7ce25efbb4e8469eff11c53dd079318 authored by Philippe Blain on 03 January 2021, 17:42:15 UTC, committed by Junio C Hamano on 04 January 2021, 19:29:36 UTC
'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>
1 parent 898f807
File | Mode | Size |
---|---|---|
buildsystems | ||
coccinelle | ||
completion | ||
contacts | ||
credential | ||
diff-highlight | ||
emacs | ||
examples | ||
fast-import | ||
git-jump | ||
git-shell-commands | ||
hg-to-git | ||
hooks | ||
long-running-filter | ||
mw-to-git | ||
persistent-https | ||
remote-helpers | ||
stats | ||
subtree | ||
thunderbird-patch-inline | ||
update-unicode | ||
vscode | ||
workdir | ||
README | -rw-r--r-- | 2.1 KB |
coverage-diff.sh | -rwxr-xr-x | 2.0 KB |
git-resurrect.sh | -rwxr-xr-x | 4.3 KB |
remotes2config.sh | -rwxr-xr-x | 770 bytes |
rerere-train.sh | -rwxr-xr-x | 1.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...