]> source.dussan.org Git - jgit.git/commit
Normalizer creating a valid branch name from a string 31/88131/9
authorWim Jongman <wim.jongman@remainsoftware.com>
Fri, 6 Jan 2017 01:27:43 +0000 (02:27 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 18 Jan 2017 21:05:28 +0000 (22:05 +0100)
commitb667c182cbaf56fd4382362f042062343bac0856
treeab774e7eeb0f69529683c9ba0014b1d5d3f409b5
parent8a46b603711145a05e5cd59010bc07c6f36dde41
Normalizer creating a valid branch name from a string

Generic normalization method for a possible invalid branch name.
The method compresses dividers between spaces, then replaces spaces
and non word characters with underscores.

This method is needed in preparation for subsequent EGit changes.

Bug: 509878
Change-Id: Ic0d12f098f90f912a45bcc5693d6accf751d4e58
Signed-off-by: Wim Jongman <wim.jongman@remainsoftware.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ValidRefNameTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java