diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2016-12-08 15:48:11 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-12 12:25:12 -0800 |
commit | b17846432da4f8530c7349561eac4a16f95bbd5b (patch) | |
tree | 953ebbe6a12d3f5e3e29efc2c6e3b1b8f7274afa /t/t7408-submodule-reference.sh | |
parent | versioncmp: use earliest-longest contained suffix to determine sorting order (diff) | |
download | tgif-b17846432da4f8530c7349561eac4a16f95bbd5b.tar.xz |
versioncmp: factor out helper for suffix matching
As the number of identical steps to be done for both tagnames grows,
extract them into a helper function, with the additional benefit that
the conditionals near the end of swap_prereleases() will use more
meaningful variable names.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7408-submodule-reference.sh')
0 files changed, 0 insertions, 0 deletions