Fix do_list to not break when branchlist is empty
This commit is contained in:
parent
e5c93d6306
commit
748338589f
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ do_list()
|
|||
|
||||
printf "%s\n" "$BRANCHLIST" | while read LINE
|
||||
do
|
||||
[ -z "$LINE" ] && break
|
||||
OBJID=${LINE%% *}
|
||||
REFNAME=${LINE##* }
|
||||
echo "$OBJID" "$REFNAME"
|
||||
|
|
Loading…
Reference in a new issue