- parse-revision-specification stringprocedure
Attempts to parse a string as a Git revision specification, returning two values:
- If string specifies a range of revisions, the start and end commit objects.
- If string specifies a single revision, the commit object and #f.
- If string is invalid or fails to match a revision, #f for both values.
For more information about specifying revisions, see https://git-scm.com/docs/git-rev-parse.html#_specifying_revisions.