justjanne / powerline-go

A beautiful and useful low-latency prompt for your shell, written in go
GNU General Public License v3.0
2.73k stars 268 forks source link

git submodule update #241

Open sandman7920 opened 3 years ago

sandman7920 commented 3 years ago

When the git submodule is updated, powerline-go doesn't mark git change.

image

danielschenk commented 3 years ago

I experience the same issue. I think it might be because of this line.

justjanne commented 3 years ago

This is somewhat intentional, as submodules are extremely expensive to compute for the git segment, in turn leading to signficant lag when using the shell. I’m afraid there’s no good option for this