We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e463e1a commit a0ec86eCopy full SHA for a0ec86e
1 file changed
public/scripts/hackorum-patch
@@ -108,7 +108,7 @@ class HackorumPatch
108
# Match sequence number: digits followed by hyphen before the actual patch name
109
# e.g., "0001-subject.patch" or "nocfbot.v2-0005-subject.patch"
110
if basename =~ /(\d+)-[^-]+\.(patch|diff)$/i
111
- $1.to_i
+ [$1.to_i, basename]
112
else
113
# Fallback: sort alphabetically but after numbered patches
114
[Float::INFINITY, basename]
0 commit comments