diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-06-13 00:20:51 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-07-22 11:51:41 +0200 |
commit | c536873c87db0d87292a90a905b30301c110ceb3 (patch) | |
tree | d1e3664f8d0b016a0a59945c7e6618135292dbf6 /org.eclipse.jgit.pgm/.settings | |
parent | f1713abcdcb5097d4e44893862bedc6e27dde20e (diff) | |
download | jgit-c536873c87db0d87292a90a905b30301c110ceb3.tar.gz jgit-c536873c87db0d87292a90a905b30301c110ceb3.zip |
Fix reading of ref names containing characters that sort before /
A set of ref names like ('a/b' and 'a+b') would cause the RefDirectory
to think that the set of refs have changed because it traversed the
'a' directory in the subtree before looking at 'a+b', but it then
compared with the know refs which are sorted with 'a+b' first.
Fix this by traversing the refs tree in another order. Treat a directory
as if they ends with a '/' before deciding on the order to traverse
the refs tree.
Bug: 348834
Change-Id: I23377f8df00c7252bf27dbcfba5da193c5403917
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/.settings')
0 files changed, 0 insertions, 0 deletions