mirror of
https://github.com/oskar456/dzonegit.git
synced 2024-05-11 05:55:41 +00:00
Replace 000000 by empty commit
This commit is contained in:
@ -285,6 +285,9 @@ def update():
|
|||||||
)
|
)
|
||||||
refname, against, revision = sys.argv[1:4]
|
refname, against, revision = sys.argv[1:4]
|
||||||
|
|
||||||
|
if against == "0000000000000000000000000000000000000000":
|
||||||
|
against = get_head() # Empty commit
|
||||||
|
|
||||||
if refname != "refs/heads/master":
|
if refname != "refs/heads/master":
|
||||||
raise SystemExit("Nothing else except master branch is accepted here")
|
raise SystemExit("Nothing else except master branch is accepted here")
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user