Just return configValue instead of transforming name(). Change-Id: I7f94ab2e206e93d1370467e187c5e68e8f6a8836 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>tags/v4.9.0.201710071750-r
@@ -43,8 +43,6 @@ | |||
package org.eclipse.jgit.lib; | |||
import java.util.Locale; | |||
import org.eclipse.jgit.util.StringUtils; | |||
/** | |||
@@ -79,7 +77,7 @@ public class SubmoduleConfig { | |||
@Override | |||
public String toConfigValue() { | |||
return name().toLowerCase(Locale.ROOT).replace('_', '-'); | |||
return configValue; | |||
} | |||
@Override |