mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
...
This commit is contained in:
parent
5af551c96d
commit
6b6dea5190
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ worker_processes = []
|
|||
|
||||
|
||||
def find_differ():
|
||||
if shutil.which('git') and subprocess.Popen(['git', '--help']).wait() == 0:
|
||||
if shutil.which('git') and subprocess.Popen(['git', '--help'], stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL).wait() == 0:
|
||||
return GIT_DIFF
|
||||
if shutil.which('diff'):
|
||||
return DIFF_DIFF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue