top | item 19291560 (no title) bencoveney | 7 years ago Git has a mechanism for getting the root repo directory - `git rev-parse --show-toplevel` discuss order hn newest wincent|7 years ago True. I guess I wanted to avoid shelling out, but it probably wouldn't hurt.
wincent|7 years ago