supercrabtree / k

k is the new l, yo
1.78k stars 123 forks source link

Passing a path returns incorrect git status #47

Closed chrstphrknwtn closed 6 years ago

chrstphrknwtn commented 9 years ago

Fixes for 0.0.4 has broken passing a path to k:

k some/path/elsewhere

If you're outside a git repo, then it works as expected, however if you do it from inside a git repo the results are incorrect.

Correct

screen shot

From a location that isn't a git repo (works properly)

screen shot 1

From inside git repo

screen shot 2