Commit Diff
--- got-archive +++ got-archive @@ -83,7 +83,7 @@ if [ "$all" = 1 ]; then [ $# -ne 0 ] && die 1 "Error: Can't combine -a and explicit refs" tags=$(find "$repo/refs/tags" -type f -exec basename {} \; 2>/dev/null) - [ $? -ne 0 ] && die 5 "Error: $name: no tags found" + [ $? -ne 0 ] && exit 0 set -- $tags fi