3 ms·
Git has a mechanism for getting the root repo directory - `git rev-parse --show-toplevel`
by bencoveney 8y ago
Git has a mechanism for getting the root repo directory - `git rev-parse --show-toplevel`
- wincent 8y agoTrue. I guess I wanted to avoid shelling out, but it probably wouldn't hurt.