]> source.dussan.org Git - jgit.git/commit
Fix getHumanishName broken for windows paths 98/3198/6
authorStefan Lay <stefan.lay@sap.com>
Fri, 6 May 2011 08:42:51 +0000 (10:42 +0200)
committerStefan Lay <stefan.lay@sap.com>
Fri, 6 May 2011 08:42:51 +0000 (10:42 +0200)
commit05bb92980b27cf8379e6a39f993ae21952ffe05d
treec51ef65c3388543eaa1ec70b98fdf1ea155ba9b9
parentb8fdda11cc4a786c24ba309ec755321dba6d9955
Fix getHumanishName broken for windows paths

Since d1718a the method getHumanishName was broken on windows since
the URIish is not normalized anymore. For a path like
"C:\gitRepositories\egit" the whole path was returned instead of
"egit".

Bug: 343519
Change-Id: I95056009072b99d32f288966302d0f8188b47836
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/URIishTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java