henrikruscon / hyper-statusline

Status Line Plugin for Hyper
MIT License
386 stars 79 forks source link

Git info not displaying in subfolder #55

Closed sudo-tee closed 6 years ago

sudo-tee commented 7 years ago

The git repository detection is flawed.

My git repo does not have .git files in subfolder only in the main folder.

A better way to detect would be:

git rev-parse --is-inside-work-tree

xeroxoid commented 7 years ago

Same here. Great plugin by the way!

henrikruscon commented 6 years ago

@xeroxoid Thanks!

Merged, sorry for the delay ✌️

mattdarveniza commented 6 years ago

I literally just came here to raise this issue. Great timing 🎉