mirror of
https://github.com/cmderdev/cmder.git
synced 2026-02-22 21:23:03 +08:00
"git branch" does not work in a newly inited repo. So in a newly inited using reftables, the branch name was not able to be retrieved, and the "Loading..." placeholder remained indefinitely. This change updates it to try again with "git branch --show-current" when "git branch" prints empty output.
26 KiB
26 KiB