summaryrefslogtreecommitdiff
path: root/t/t7408-submodule-reference.sh
diff options
context:
space:
mode:
authorLibravatar SZEDER Gábor <szeder.dev@gmail.com>2016-12-08 15:48:11 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-12 12:25:12 -0800
commitb17846432da4f8530c7349561eac4a16f95bbd5b (patch)
tree953ebbe6a12d3f5e3e29efc2c6e3b1b8f7274afa /t/t7408-submodule-reference.sh
parentversioncmp: use earliest-longest contained suffix to determine sorting order (diff)
downloadtgif-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