diff --git a/dist/index.js b/dist/index.js index b2024d089..77ba7a173 100644 --- a/dist/index.js +++ b/dist/index.js @@ -650,6 +650,8 @@ class GitCommandManager { else { args.push(ref); } + // https://github.com/git/git/commit/a047fafc7866cc4087201e284dc1f53e8f9a32d5 + args.push('--'); yield this.exec(args); }); } diff --git a/src/git-command-manager.ts b/src/git-command-manager.ts index 8dc6a9b51..367f796c0 100644 --- a/src/git-command-manager.ts +++ b/src/git-command-manager.ts @@ -32,6 +32,8 @@ export class GitCommandManager { } else { args.push(ref) } + // https://github.com/git/git/commit/a047fafc7866cc4087201e284dc1f53e8f9a32d5 + args.push('--') await this.exec(args) }