Skip to content

Commit

Permalink
Merge pull request #22 from sipraga/umpf-distribute-nodiff
Browse files Browse the repository at this point in the history
umpf: suppress umpf-distribute errors when there is no diff
  • Loading branch information
michaelolbrich authored May 5, 2023
2 parents 0d6501d + 7573e3a commit 60aae44
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions umpf
Original file line number Diff line number Diff line change
Expand Up @@ -1608,6 +1608,13 @@ do_distribute() {
echo "${SERIES}" > "${STATE}/head"
parse_series diff "${STATE}/series"
if [ ! -e "${STATE}/diff" ]; then
info
info "No new patches to distribute"
cleanup
return
fi
if ${IDENTICAL} && [ ! -e "${STATE}/topics" ]; then
abort "Identical diff requires series with 'hashinfo'"
fi
Expand Down

0 comments on commit 60aae44

Please sign in to comment.