Revert "remove == 0"

This reverts commit 5a4235c6f0.
This commit is contained in:
Paul Tarjan 2025-12-26 15:11:03 -07:00
parent 5a4235c6f0
commit a26fb3ba02

View file

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