##// END OF EJS Templates
fixed git-command wrapper
marcink -
r2200:d7a4c7e3 beta
parent child Browse files
Show More
@@ -80,12 +80,14 b' class GitRepository(BaseRepository):'
80 80 """
81 81
82 82 _copts = ['-c', 'core.quotepath=false', ]
83
83 _str_cmd = False
84 84 if isinstance(cmd, basestring):
85 85 cmd = [cmd]
86 _str_cmd = True
86 87
87 88 cmd = ['GIT_CONFIG_NOGLOBAL=1', 'git'] + _copts + cmd
88
89 if _str_cmd:
90 cmd = ' '.join(cmd)
89 91 try:
90 92 opts = dict(
91 93 shell=isinstance(cmd, basestring),
General Comments 0
You need to be logged in to leave comments. Login now