[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] sort symbolic tag names in "cvs log" output
From: |
Max Bowsher |
Subject: |
Re: [patch] sort symbolic tag names in "cvs log" output |
Date: |
Thu, 26 Jun 2003 00:23:20 +0100 |
Matthew Kirkwood wrote:
> Hi,
>
> The symbolic names section of "cvs log" output is a pain to read,
> as it's in no useful order.
>
> This trivial patch sorts them alphabetically. I've tested it
> (including the edge case of a file with no tags) and it works just
> fine.
>
> Please consider plying this for the next release.
>
> Thanks,
> Matthew.
>
>
> --- cvs-1.11.6.orig/src/log.c Tue Feb 25 10:14:32 2003
> +++ cvs-1.11.6/src/log.c Tue Jun 24 18:08:21 2003
> @@ -930,6 +930,7 @@
>
> cvs_output ("\nsymbolic names:", 0);
> syms = RCS_symbols (rcsfile);
> + sortlist (syms, fsortcmp);
> walklist (syms, log_symbol, NULL);
> }
Personally, I like the status quo - that the tags are in reverse
chronological order of creation.
Please consider this too, when deciding if this patch is the right thing to
do.
Max.