Fix if-else for empty if branch
This commit is contained in:
parent
85db1d5f02
commit
2fd6a701ae
1 changed files with 1 additions and 3 deletions
|
@ -14,10 +14,8 @@ z40=0000000000000000000000000000000000000000
|
|||
|
||||
while read local_ref local_sha remote_ref remote_sha
|
||||
do
|
||||
if [ "$local_sha" = $z40 ]
|
||||
if [ "$local_sha" != $z40 ]
|
||||
then
|
||||
# Branch is deleted, nothing to check here, move along.
|
||||
else
|
||||
if [ "$remote_sha" = $z40 ]
|
||||
then
|
||||
# New branch, examine all commits
|
||||
|
|
Loading…
Reference in a new issue