bash-powerline icon indicating copy to clipboard operation
bash-powerline copied to clipboard

Branch not showing on system with older versions of git

Open pixelrazor opened this issue 6 years ago • 1 comments

On my centos 6.9 machine, git symbolic-ref doesn't have the --short option. One way to accommodate for older git versions is $($git_eng rev-parse --abbrev-ref 2>/dev/null). Or i could have just updated git ;)

pixelrazor avatar May 22 '18 18:05 pixelrazor

What version of git are you using? There's a PR #6 but I couldn't reproduce it. Maybe because my git is too new?

riobard avatar Jun 10 '19 22:06 riobard