Skip to content

Commit

Permalink
Merge pull request #525 from dscho/apply-from-any-public-inbox
Browse files Browse the repository at this point in the history
apply-from-lore: allow specifying non-Git URLs
  • Loading branch information
dscho authored Oct 18, 2023
2 parents 63e0e4a + 88b34fa commit 69fc5fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apply-from-lore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ do
s/^href="\.\.\/\([^"]*\).*/\1/p;q
}' <"$OUT2")"
test -n "$URL3" || break
curl -f https://lore.kernel.org/git/${URL3%/}/raw \
>>"$OUT3" ||
curl -f "${URL%/*/raw}/${URL3%/}/raw" >>"$OUT3" ||
die "Could not retrieve $URL3" >&2
NO=$(($NO+1))
done
Expand Down

0 comments on commit 69fc5fb

Please sign in to comment.