pass HEAD by default to argparse

This commit is contained in:
2024-05-05 21:04:28 +02:00
parent fe292c02c9
commit 41333f06bc
2 changed files with 7 additions and 5 deletions

View File

@@ -130,6 +130,9 @@ def get_commit(oid):
def get_oid(name):
if name == "@":
name = "HEAD"
# Name is ref
refs_to_try = [
f"{name}",