Skip to content

Commit a96ee6a

Browse files
author
root
committed
Fix #502 for real
1 parent 6e4519f commit a96ee6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/redmine/scm/adapters/xitolite_adapter.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def repo_path
565565

566566

567567
def git_args
568-
['-c', 'core.quotepath=false', '-c', 'log.decorate=no'] if self.class.client_version_above?([1, 7, 2])
568+
self.class.client_version_above?([1, 7, 2]) ? ['-c', 'core.quotepath=false', '-c', 'log.decorate=no'] : []
569569
end
570570

571571

0 commit comments

Comments
 (0)