mirror of
https://github.com/git/git
synced 2024-10-29 17:08:46 +00:00
Add explicit path of git installation by 'git --exec-path'.
As pointed out by documentation, the correct use of 'git-sh-setup' is using $(git --exec-path) to avoid problems with not standard installations. Signed-off-by: gianluca.pacchiella <pacchiel@studenti.ph.unito.it>
This commit is contained in:
parent
558e7a57e2
commit
2987e6add3
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ rejoin merge the new branch back into HEAD
|
||||||
squash merge subtree changes as a single commit
|
squash merge subtree changes as a single commit
|
||||||
"
|
"
|
||||||
eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)
|
eval $(echo "$OPTS_SPEC" | git rev-parse --parseopt -- "$@" || echo exit $?)
|
||||||
. git-sh-setup
|
. $(git --exec-path)/git-sh-setup
|
||||||
require_work_tree
|
require_work_tree
|
||||||
|
|
||||||
quiet=
|
quiet=
|
||||||
|
|
Loading…
Reference in a new issue