mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #249] Incorrect Example 10 #7148
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thbwd on GitHub (Mar 26, 2015).
Original GitHub issue: https://github.com/semver/semver/issues/249
Point 10 of the specification says (emphasis added):
Then this example follows:
However the identifier contains periods which are not included in
[0-9A-Za-z-]nor are they alphanumerics or hyphens.So is this example incorrect?
@crazedsanity commented on GitHub (Mar 26, 2015):
The given example is correct, as it refers explicitely to the identifiers, which are separated by the dots. So
expis valid,shais valid, and5114f85is valid as individual identifers; the full metadata is thenexp.sha.5114f85. Hopefully that makes sense.