pass HEAD by default to argparse
This commit is contained in:
@@ -130,6 +130,9 @@ def get_commit(oid):
|
||||
|
||||
|
||||
def get_oid(name):
|
||||
if name == "@":
|
||||
name = "HEAD"
|
||||
|
||||
# Name is ref
|
||||
refs_to_try = [
|
||||
f"{name}",
|
||||
|
||||
Reference in New Issue
Block a user