Skip to content

git-validation fails for first commit #66

@apostasie

Description

@apostasie
git-validation
git-validation -range=HEAD
git-validation -range=

Will all fail on the first commit (example repo) with:

fa7c1da "Initial commit" ... fatal: ambiguous argument 'fa7c1daeafe58b8a0caa35c05ae8ac9e30188d80^..fa7c1daeafe58b8a0caa35c05ae8ac9e30188d80': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
FAIL
  - FAIL - errored with: exit status 128

I guess there is no parent commit to the first commit ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions