mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-remotes-HEAD' into 'master'
Don't let remote HEAD show up as HEAD in version info, use actual branch name See merge request KartKrew/Kart!1080
This commit is contained in:
commit
aab248b25c
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ function(git_current_branch variable)
|
|||
|
||||
# If a detached head, a ref could still be resolved.
|
||||
if("${output}" STREQUAL "")
|
||||
_git_command(describe --all --exact-match)
|
||||
_git_command(describe --all --exact-match --exclude */HEAD)
|
||||
|
||||
# Get the ref, in the form heads/master or
|
||||
# remotes/origin/master so isolate the final part.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue