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

feat: implement segment-gitlite with go-git for better windows support #354

Open ProgramFan opened 2 years ago

ProgramFan commented 2 years ago

This PR re-implements the gitlite segment with go-git, instead of calling the git command directly, also adds a simple powerline repo symbol. This solves the large latency of powerline-go in powershell where calling external executables is expensive. I have been using this feature for 1 year and it is very satisfying.