mirror of
https://github.com/peter-evans/create-pull-request.git
synced 2026-05-14 02:22:41 +00:00
fix: add '--' to checkout command to avoid ambiguity (#1051)
* fix: add '--' to checkout command to avoid ambiguity Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * Update src/git-command-manager.ts Co-authored-by: Peter Evans <18365890+peter-evans@users.noreply.github.com> Co-authored-by: Peter Evans <18365890+peter-evans@users.noreply.github.com>
This commit is contained in:
Vendored
+2
@@ -650,6 +650,8 @@ class GitCommandManager {
|
||||
else {
|
||||
args.push(ref);
|
||||
}
|
||||
// https://github.com/git/git/commit/a047fafc7866cc4087201e284dc1f53e8f9a32d5
|
||||
args.push('--');
|
||||
yield this.exec(args);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user