mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
git-changelog: should remove ^0 suffix from the commit description.
This commit is contained in:
parent
e4aaf9f697
commit
a347e49178
|
|
@ -496,6 +496,8 @@ main() {
|
|||
|
||||
# remove suffix from the $start_tag when no tag matched exactly
|
||||
start_tag="${start_tag%%~*}"
|
||||
# also remove "^0" added sometimes when tag matched exactly
|
||||
start_tag="${start_tag%%^0}"
|
||||
|
||||
elif [[ -n "${_tag}" ]]; then
|
||||
start_tag="$(git describe --tags --abbrev=0 "${_tag}" 2>/dev/null)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue