mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git-log] escape backslashes (otherwise git doesn't like it)
This commit is contained in:
@@ -272,7 +272,8 @@ public class GitLogProvider implements VcsLogProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static String prepareParameter(String paramName, String value) {
|
private static String prepareParameter(String paramName, String value) {
|
||||||
return "--" + paramName + "=" + value; // no value escaping needed, because the parameter itself will be quoted by GeneralCommandLine
|
// no value quoting needed, because the parameter itself will be quoted by GeneralCommandLine
|
||||||
|
return "--" + paramName + "=" + StringUtil.escapeBackSlashes(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static <T> String joinFilters(Collection<T> filters, Function<T, String> toString) {
|
private static <T> String joinFilters(Collection<T> filters, Function<T, String> toString) {
|
||||||
|
|||||||
Reference in New Issue
Block a user