diff options
author | Heba Waly <heba.waly@gmail.com> | 2020-01-30 01:14:01 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-30 10:25:00 -0800 |
commit | d82ad54945be557f9c70550842ffc568b25cd16a (patch) | |
tree | cfdb8fb0c3768d725a2b9aa923f1225d81a74edb /t/t4034/java/expect | |
parent | Sync with maint (diff) | |
download | tgif-d82ad54945be557f9c70550842ffc568b25cd16a.tar.xz |
git: update documentation for --git-dir
git --git-dir <path> is a bit confusing and sometimes doesn't work as
the user would expect it to.
For example, if the user runs `git --git-dir=<path> status`, git
will skip the repository discovery algorithm and will assign the
work tree to the user's current work directory unless otherwise
specified. When this assignment is wrong, the output will not match
the user's expectations.
This patch updates the documentation to make it clearer.
Signed-off-by: Heba Waly <heba.waly@gmail.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/java/expect')
0 files changed, 0 insertions, 0 deletions