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
History
File Mode Size
tr2_cfg.c -rw-r--r-- 3.3 KB
tr2_cfg.h -rw-r--r-- 673 bytes
tr2_cmd_name.c -rw-r--r-- 728 bytes
tr2_cmd_name.h -rw-r--r-- 660 bytes
tr2_dst.c -rw-r--r-- 9.8 KB
tr2_dst.h -rw-r--r-- 857 bytes
tr2_sid.c -rw-r--r-- 2.9 KB
tr2_sid.h -rw-r--r-- 362 bytes
tr2_sysenv.c -rw-r--r-- 3.6 KB
tr2_sysenv.h -rw-r--r-- 856 bytes
tr2_tbuf.c -rw-r--r-- 1.0 KB
tr2_tbuf.h -rw-r--r-- 509 bytes
tr2_tgt.h -rw-r--r-- 5.2 KB
tr2_tgt_event.c -rw-r--r-- 16.6 KB
tr2_tgt_normal.c -rw-r--r-- 8.3 KB
tr2_tgt_perf.c -rw-r--r-- 14.7 KB
tr2_tls.c -rw-r--r-- 4.0 KB
tr2_tls.h -rw-r--r-- 2.3 KB

back to top