Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Running using non Cygwin git (Faster on Win) will return a differnt path format to cygwin style. So just make sure scripts is in path so everything else works.
- Loading branch information
7037c29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does
git rev-parse --show-toplevel
not work on non cygwin git?commits can be made directly from subdirectories, that breaks this approach.
7037c29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7037c29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me ask it the other way round: Is there no safe and reliable way of identifying the toplevel directory in this setup?
Maybe even one that is compatible with both
E.g.
TOPLEVEL="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/.."
7037c29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7037c29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you try the above line?
7037c29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7037c29
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NathanW2 did you succeed to test?