mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
fix: add '--' to checkout command to avoid ambiguity
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
This commit is contained in:
parent
3f60247108
commit
c28661c916
2 changed files with 4 additions and 0 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -650,6 +650,8 @@ class GitCommandManager {
|
|||
else {
|
||||
args.push(ref);
|
||||
}
|
||||
// https://github.com/git/git/commit/a047fafc7866cc4087201e284dc1f53e8f9a32d5
|
||||
args.push('--');
|
||||
yield this.exec(args);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -32,6 +32,8 @@ export class GitCommandManager {
|
|||
} else {
|
||||
args.push(ref)
|
||||
}
|
||||
// https://github.com/git/git/commit/a047fafc7866cc4087201e284dc1f53e8f9a32d5
|
||||
args.push('--');
|
||||
await this.exec(args)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue