mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 20:40:08 -06:00
Merge pull request #409 from samsaggace/master
Fix file stashing with external diff tool
This commit is contained in:
@@ -23,7 +23,7 @@ def staged_files_only(cmd_runner):
|
||||
retcode, diff_stdout_binary, _ = cmd_runner.run(
|
||||
[
|
||||
'git', 'diff', '--ignore-submodules', '--binary', '--exit-code',
|
||||
'--no-color',
|
||||
'--no-color', '--no-ext-diff',
|
||||
],
|
||||
retcode=None,
|
||||
encoding=None,
|
||||
|
||||
Reference in New Issue
Block a user