pr-537/HebaWaly/git_dir_doc-v4
tagged this
30 Jan 01:14
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.v4.git.1580346841614.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.537.git.1579745811615.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.537.v2.git.1580091855792.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.537.v3.git.1580185440512.gitgitgadget@gmail.com
Assets 2
-
2020-01-30T01:14:01Z -
2020-01-30T01:14:01Z - Loading