Skip to content

Commit

Permalink
is mutually exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
SalmonMode committed Oct 1, 2020
1 parent 14e957b commit 50b2045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -284,7 +284,7 @@ function createCommand<T extends CommitField | DefaultField = DefaultField>(
}

// File and file status
if (options.nameStatus) {
if (options.nameStatus && !options.fileLineRange) {
command += " --name-status";
}

Expand Down

0 comments on commit 50b2045

Please sign in to comment.