Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jan 19, 2019
1 parent 5af551c commit 6b6dea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kittens/diff/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


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
Expand Down

0 comments on commit 6b6dea5

Please sign in to comment.