(Sorry for double post, forgot to Cc: the mailing list...) This series fixes a bug, where version sort with prerelease reordering puts tagnames in the wrong order, when the common part of two compared tagnames ends with the leading character(s) of one or more configured prerelease suffixes. More details in the final patch. The first two patches are test cleanups, the first is an independent "while at it", but the second one touches tests that are modified by later patches of this series. The rest is rather straightforward: add failing tests, do some refactoring, and finally fix the bug. SZEDER Gábor (5): t7004-tag: delete unnecessary tags with test_when_finished t7004-tag: use test_config helper t7004-tag: add version sort tests to show prerelease reordering issues versioncmp: pass full tagnames to swap_prereleases() versioncmp: cope with common leading parts in versionsort.prereleaseSuffix t/t7004-tag.sh | 83 ++++++++++++++++++++++++++++++++++++++++------------------ versioncmp.c | 46 +++++++++++++++++++++----------- 2 files changed, 87 insertions(+), 42 deletions(-) -- 2.10.0.74.g6632b1b