[PATCH] mailmap: fix sorting
Stephen Hemminger
stephen at networkplumber.org
Thu Jul 6 04:03:17 CEST 2023
On Thu, 6 Jul 2023 01:58:03 +0100
Ferruh Yigit <ferruh.yigit at amd.com> wrote:
> On 7/6/2023 12:45 AM, Stephen Hemminger wrote:
> > The mailmap file is supposed to be in sorted order,
> > but several entries are in the wrong place.
> >
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> >
>
> Hi Stephen,
>
> What are you using for sorting?
Emacs has a sort-lines function.
> When I use 'sort' binary [1] I get only a few lines of diff,
> but if I use vim ":sort" command I get a diff similar to this patch with
> lots of change.
>
> It looks like these two variant of 'sort' works differently.
>
> At least vim ":sort l" gives same output with 'sort' binary, and vim
> language config I have is "en_US.UTF-8", I assume 'sort' binary output
> is based on this language setting.
>
> Will it work to stick with 'sort' binary and fix a few lines of diff in
> current file?
Sure, lets just use sort with utf-8
More information about the dev
mailing list