mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 17:14:43 +04:00
Merge pull request #409 from samsaggace/master
Fix file stashing with external diff tool
This commit is contained in:
commit
4b90faab27
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def staged_files_only(cmd_runner):
|
||||||
retcode, diff_stdout_binary, _ = cmd_runner.run(
|
retcode, diff_stdout_binary, _ = cmd_runner.run(
|
||||||
[
|
[
|
||||||
'git', 'diff', '--ignore-submodules', '--binary', '--exit-code',
|
'git', 'diff', '--ignore-submodules', '--binary', '--exit-code',
|
||||||
'--no-color',
|
'--no-color', '--no-ext-diff',
|
||||||
],
|
],
|
||||||
retcode=None,
|
retcode=None,
|
||||||
encoding=None,
|
encoding=None,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue