mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 05:54:59 +02:00
...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user