get-diff-action
get-diff-action copied to clipboard
unknown revision or path not in the working tree when open pull request open in branch
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'