You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would consider this a feature rather than a bug, as non-existing components should be ignored, but you can always create the ~/bin folder later and it would be picked up automatically.
What is the exact problem you are trying to solve?
Yes, it's a feature request, not a bug. But github only has "new issue"...
The reason is, that I spend quite a while searching my own startup scripts (not only bash, because I'm in this case on windows), looking for the place, why this directory is in my PATH variable and I didn't find it there, because in these scripts that check is used...
It's just an optimization for a *nix shell script. The behaviour is still present in current main branch.
https://github.com/git-for-windows/build-extra/blob/6735402549b1776f65723e129b9208fa0ee5056b/git-extra/env.sh#L2
the PATH should only be extended, if the directory exists and is not already included in PATH
Maybe the second test (that PATH already includes the directory) must be omitted because not every shell supports this check.
The text was updated successfully, but these errors were encountered: