Modules affected
git
Description
-
git.GetCurrentBranchName
will now return empty string when called from detached HEAD (previously this returnedHEAD
). -
Added
git.GetCurrentGitRef
andgit.GetCurrentGitRefE
functions which will return:- Branch name - in case of non-detached state
- Tag - in case of detached state and existing tag on commit
- Commit SHA - in case of detached state and non existing tag on commit
-
Miscellaneous documentation fixes
Special thanks
Special thanks to the following users for their contribution!