diff --git a/src/index.ts b/src/index.ts index c3aeef1..526a6ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -284,7 +284,7 @@ function createCommand( } // File and file status - if (options.nameStatus) { + if (options.nameStatus && !options.fileLineRange) { command += " --name-status"; }