Fix if-else for empty if branch

This commit is contained in:
Matthias Beyer 2018-01-04 11:15:47 +01:00
parent 85db1d5f02
commit 2fd6a701ae
1 changed files with 1 additions and 3 deletions

View File

@ -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