mirror of
https://github.com/git/git.git
synced 2026-02-04 15:04:45 +00:00
rev-parse --show-toplevel gives the absolute (aka "physical") path of the toplevel directory and is more portable as 'cd -P' is not supported by all shell implementations. This is also closer to what setup_work_tree() does. Signed-off-by: Steven Drake <sdrake@xnet.co.nz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
3.5 KiB
Executable File
3.5 KiB
Executable File