Files
cvs/cvs-new-sort-option.diff

12 lines
351 B
Diff

--- contrib/rcs2log.sh
+++ contrib/rcs2log.sh
@@ -620,7 +620,7 @@
# Sort the log entries, first by date+time (in reverse order),
# then by author, then by log entry, and finally by file name and revision
# (just in case).
-sort -t"$SOH" +2 -4r +4 +0 |
+sort -t"$SOH" -k3,5r -k5 -k1 |
# Finally, reformat the sorted log entries.
$AWK -F"$SOH" '