help: add shell-path to --build-options
commit39f4919dc50ff05bcebd0d3c89b718aa2d46bd67
authorEmily Shaffer <emilyshaffer@google.com>
Tue, 12 May 2020 23:42:12 +0000 (12 16:42 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 May 2020 05:02:17 +0000 (12 22:02 -0700)
tree7a7a4a9f2e93b17f1fbc296fd93961967a8a4b50
parent788a776069bffcbb7d0dd9b70d521826f97285b7
help: add shell-path to --build-options

It may be useful to know which shell Git was built to try to point to,
in the event that shell-based Git commands are failing. $SHELL_PATH is
set during the build and used to launch the manpage viewer, as well as
by git-compat-util.h, and it's used during tests. 'git version
--build-options' is encouraged for use in bug reports, so it makes sense
to include this information there.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c