[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] sort symbolic tag names in "cvs log" output
From: |
Matthew Kirkwood |
Subject: |
[patch] sort symbolic tag names in "cvs log" output |
Date: |
Wed, 25 Jun 2003 20:17:32 +0100 (BST) |
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);
}
- [patch] sort symbolic tag names in "cvs log" output,
Matthew Kirkwood <=