diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-02 19:53:50 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-05-02 20:11:18 +0000 |
commit | f760c903b8525878cd3b426fc61a7a2cf8742609 (patch) | |
tree | e587c87393918a93d5f5caa989bc749acca45f93 /string-list.c | |
parent | 242cab397214b017ac837e870ac9950efc2968c3 (diff) | |
download | git-f760c903b8525878cd3b426fc61a7a2cf8742609.tar.gz |
git-svn: introduce SVN version comparison function
With double-digit version components in SVN::Core::VERSION,
a naive string comparison is no longer sufficient and
a numeric comparison is required for correct results.
This fixes a regression introduced in
commit 082afee621aeb2d3746c8ae290af98823f981f34
("git-svn: use platform specific auth providers")
where SVN version "1.6.6" was incorrectly assumed to
be newer than the required "1.6.12" version.
[mk: fix namespace references]
[ew: commit message]
Tested-by: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'string-list.c')
0 files changed, 0 insertions, 0 deletions