pr-537/HebaWaly/git_dir_doc-v2
tagged this
27 Jan 02:24
From: Heba Waly <heba.waly@gmail.com> 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> Submitted-As: https://lore.kernel.org/git/pull.537.v2.git.1580091855792.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.537.git.1579745811615.gitgitgadget@gmail.com
Assets 2
-
2020-01-27T02:24:15Z -
2020-01-27T02:24:15Z -