This commit is contained in:
Paul Tarjan 2025-12-26 15:32:13 -07:00
parent 07ad091363
commit aec205773a

View file

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