diff options
Diffstat (limited to 'advanced')
-rwxr-xr-x | advanced/Scripts/version.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/advanced/Scripts/version.sh b/advanced/Scripts/version.sh index f79d5614..c4788d99 100755 --- a/advanced/Scripts/version.sh +++ b/advanced/Scripts/version.sh @@ -127,6 +127,8 @@ getLocalBranch(){ if [[ ! "${branch}" =~ ^v ]]; then if [[ "${branch}" == "master" ]]; then echo "" + elif [[ "${branch}" == "HEAD" ]]; then + echo "in detached HEAD state at " else echo "${branch} " fi |