Skip to content

Commit 66416b0

Browse files
rootNicolas Rodriguez
root
authored and
Nicolas Rodriguez
committed
Fix #502 for real
1 parent c3ebfb9 commit 66416b0

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
@@ -560,7 +560,7 @@ def repo_path
560560

561561

562562
def git_args
563-
['-c', 'core.quotepath=false', '-c', 'log.decorate=no'] if self.class.client_version_above?([1, 7, 2])
563+
self.class.client_version_above?([1, 7, 2]) ? ['-c', 'core.quotepath=false', '-c', 'log.decorate=no'] : []
564564
end
565565

566566

0 commit comments

Comments
 (0)