vladmandic / sd-extension-system-info

System and platform info and standardized benchmarking extension for SD.Next and WebUI
https://vladmandic.github.io/sd-extension-system-info/pages/benchmark.html
MIT License
280 stars 51 forks source link

Fix for older Git.py #21

Closed Vesnica closed 1 year ago

Vesnica commented 1 year ago

git branch --show-current only works for Git 2.22 or above. Using git rev-parse --abbrev-ref HEAD enables older versions(1.7+) of Git to function properly