diff --git a/src/git/GitScanner.ts b/src/git/GitScanner.ts index 04e54343..7238192b 100644 --- a/src/git/GitScanner.ts +++ b/src/git/GitScanner.ts @@ -624,7 +624,7 @@ export class GitScanner { } const childProcess = spawn('git', - ['diff', '--minimal'], + ['diff', '--minimal', '--ignore-space-change'], { cwd: this.rootPath, env: {} }); const promise = new Promise((resolve, reject) => { childProcess.on('close', resolve);