Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4b90faa

Browse files
authored
Merge pull request #409 from samsaggace/master
Fix file stashing with external diff tool
2 parents 9c6484b + 5206ce2 commit 4b90faa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pre_commit/staged_files_only.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def staged_files_only(cmd_runner):
2323
retcode, diff_stdout_binary, _ = cmd_runner.run(
2424
[
2525
'git', 'diff', '--ignore-submodules', '--binary', '--exit-code',
26-
'--no-color',
26+
'--no-color', '--no-ext-diff',
2727
],
2828
retcode=None,
2929
encoding=None,

0 commit comments

Comments
 (0)