Skip to content

Commit 387e271

Browse files
committed
Adds missing -- to avoid ambiguity
1 parent 4c63b15 commit 387e271

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/env/node/git/sub-providers/commits.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ export class CommitsGitSubProvider implements GitCommitsSubProvider {
503503
}
504504
args.push('--', pathspec);
505505
}
506+
} else {
507+
args.push('--');
506508
}
507509

508510
const currentUser = await currentUserPromise.catch(() => undefined);

0 commit comments

Comments
 (0)