From 66416b0a2200760c0e88d7d0a4d1f8b17a620a1e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 28 Aug 2015 17:58:45 +0200 Subject: [PATCH] Fix https://github.com/jbox-web/redmine_git_hosting/issues/502 for real --- lib/redmine/scm/adapters/xitolite_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/xitolite_adapter.rb b/lib/redmine/scm/adapters/xitolite_adapter.rb index a94efa69ee2..7827b8fe5f4 100644 --- a/lib/redmine/scm/adapters/xitolite_adapter.rb +++ b/lib/redmine/scm/adapters/xitolite_adapter.rb @@ -560,7 +560,7 @@ def repo_path def git_args - ['-c', 'core.quotepath=false', '-c', 'log.decorate=no'] if self.class.client_version_above?([1, 7, 2]) + self.class.client_version_above?([1, 7, 2]) ? ['-c', 'core.quotepath=false', '-c', 'log.decorate=no'] : [] end