Bug#906990: reportbug: wildcard globbing for attachments should attach in alphabetical order, not filesystem order
control: tags 906990 + patch
On 22 Aug 2018 Daniel Kahn Gillmor wrote:
> when using reportbug interactively, i write the report, and then
> choose "a" to attach a file.
>
> it's very nice that i can use shell globbing there (e.g., by entering
> "src/foo/fixup/00*.patch"). but when i do that, the matched files
> show up in filesystem order.
>
> What i'd typically like is for them to show up in lexicographical
> (alphabetical) order, so that the patch series is preserved. Note
> that the default behavior of the shell when doing glob expansion is
> lexicographical order as well (at least for both posh and bash).
Not sure if the sorting order is identical to the shell, but here is a
merge request:
https://salsa.debian.org/reportbug-team/reportbug/merge_requests/7
Reply to: