Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: ambiguous argument 'master..HEAD' #559

Closed
eisraeli opened this issue Mar 7, 2023 · 2 comments · Fixed by #560
Closed

fatal: ambiguous argument 'master..HEAD' #559

eisraeli opened this issue Mar 7, 2023 · 2 comments · Fixed by #560

Comments

@eisraeli
Copy link

eisraeli commented Mar 7, 2023

When running pint ci --base-branch=main I get the following:
level=info msg="Loading configuration file" path=.pint.hcl level=fatal msg="Execution completed with error(s)" error="failed to get the list of commits to scan: fatal: ambiguous argument 'master..HEAD': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n"

Am I missing something here?

@prymitive
Copy link
Collaborator

Fixed in v0.42.1

@QSummerY
Copy link

QSummerY commented Apr 18, 2023

@prymitive
I try to curl release in Jenkins, and then execute the pint ci command, but the similar problem occurs. The release version used is 0.43.1. Do I need to configure something additionally?

./pint-linux-386 ci --base-branch main
level=info msg="Loading configuration file" path=.pint.hcl
level=fatal msg="Execution completed with error(s)" error="failed to get the list of commits to scan: fatal: ambiguous argument 'main..HEAD': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants