redirect stderr to devnull

This commit is contained in:
Paul Tarjan 2025-12-26 15:15:34 -07:00
parent a26fb3ba02
commit ed0d44b665

View file

@ -111,7 +111,7 @@ def _ns(
def _rev_exists(rev: str) -> bool:
return subprocess.call(('git', 'cat-file', '-e', rev)) == 0
return subprocess.call(('git', 'cat-file', '-e', rev), stderr=subprocess.DEVNULL) == 0
def _pre_push_ns(