Browse Source

Ensures that log --all only gets a single worktree

main
Eric Amodio 2 years ago
parent
commit
8674db3d1c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/env/node/git/git.ts

+ 2
- 2
src/env/node/git/git.ts View File

@ -755,7 +755,7 @@ export class Git {
}
if (all) {
params.push('--all');
params.push('--all', '--single-worktree');
}
if (ref && !GitRevision.isUncommittedStaged(ref)) {
@ -834,7 +834,7 @@ export class Git {
}
if (all) {
params.push('--all');
params.push('--all', '--single-worktree');
}
// Can't allow rename detection (`--follow`) if `all` or a `startLine` is specified

Loading…
Cancel
Save