Replace 000000 by empty commit

This commit is contained in:
Ondřej Caletka
2018-07-13 12:35:31 +02:00
parent ca433838db
commit d383fbbfc8
+3
View File
@@ -285,6 +285,9 @@ def update():
)
refname, against, revision = sys.argv[1:4]
if against == "0000000000000000000000000000000000000000":
against = get_head() # Empty commit
if refname != "refs/heads/master":
raise SystemExit("Nothing else except master branch is accepted here")
try: