Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed error thrown by symbolic-ref and describe
git describe can be replaced by tag --points-at <commitish>. Other than symbolic-ref, describe does not have a --quiet switch, thus always adds to $error in case of a detached head with no tag pointing to that commit. Using tag --point-at HEAD will return a tag if one is found but not throw an error when there is none.
- Loading branch information