Fix do_list to not break when branchlist is empty

This commit is contained in:
root 2013-02-14 00:00:00 +00:00
parent e5c93d6306
commit 748338589f

View file

@ -169,6 +169,7 @@ do_list()
printf "%s\n" "$BRANCHLIST" | while read LINE
do
[ -z "$LINE" ] && break
OBJID=${LINE%% *}
REFNAME=${LINE##* }
echo "$OBJID" "$REFNAME"