From 6b6dea5190217191076a090e21d79bb13c56dcc7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 19 Jan 2019 13:51:18 +0530 Subject: [PATCH] ... --- kittens/diff/patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/diff/patch.py b/kittens/diff/patch.py index 5acdc2ffe..602823e02 100644 --- a/kittens/diff/patch.py +++ b/kittens/diff/patch.py @@ -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