]> source.dussan.org Git - jgit.git/commit
Fix ValidRefNameTest on Windows 00/24000/3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 30 Mar 2014 09:00:36 +0000 (11:00 +0200)
committerRobin Stocker <robin@nibor.org>
Sun, 6 Apr 2014 16:16:41 +0000 (12:16 -0400)
commit4a11b7137fa7a3880fb05745256940c186589464
treeea0fe5168e4f60f33600d7caf3d3dddfbaa696b4
parentecade47a895c19b8ea290d2e5909434176292433
Fix ValidRefNameTest on Windows

There are certain ref names which native git can be create only on
non-windows systems (e.g. "refs/tags/>"). On Windows systems we can't
persist this refs because the ref names are not valid file names. Our
tests in ValidRefNameTest assumed that these are valid refs on all
systems. This broke the tests on Windows.

Change-Id: Ic53c396c88b84cbdf579a636953f7519952270c0
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ValidRefNameTest.java