Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

unknown revision or path not in the working tree when open pull request open in branch #207

@mcgurksean

Description

@mcgurksean

Describe the bug:

I am trying to get git diff when new files have been added to a branch.

However, where there is a pull request already open for that branch, the get-diff-action tries to check out that pull request

e.g. get-diff-action/pull/291/merge

Because of this, I get the following error message:

fatal: ambiguous argument 'get-diff-action/integration...get-diff-action/pull/291/merge': unknown revision or path not in the working tree.

Is there any way that I can tell get-diff-action to ignore the pull request and only do a git fetch on the branch.

At present it is trying this:

git fetch --no-tags --no-recurse-submodules '--depth=10000' get-diff-action 'refs/heads/feature/0.1952.1:refs/remotes/get-diff-action/feature/0.1952.1' 'refs/heads/integration:refs/remotes/get-diff-action/integration' 'refs/pull/291/merge:refs/remotes/get-diff-action/pull/291/merge'

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions