SubmoduleConfig: Simplify #toConfigValue
Just return configValue instead of transforming name(). Change-Id: I7f94ab2e206e93d1370467e187c5e68e8f6a8836 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
d26309c4d9
commit
f9ac86fde2
|
@ -43,8 +43,6 @@
|
|||
|
||||
package org.eclipse.jgit.lib;
|
||||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.eclipse.jgit.util.StringUtils;
|
||||
|
||||
/**
|
||||
|
@ -79,7 +77,7 @@ private FetchRecurseSubmodulesMode(String configValue) {
|
|||
|
||||
@Override
|
||||
public String toConfigValue() {
|
||||
return name().toLowerCase(Locale.ROOT).replace('_', '-');
|
||||
return configValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue