##// END OF EJS Templates
git: show stderr only if it happen for calling GIT commands
marcink -
r1290:c0dab9ad default
parent child Browse files
Show More
@@ -107,7 +107,8 b' class GitRepository(BaseRepository):'
107 raise ValueError('cmd must be a list, got %s instead' % type(cmd))
107 raise ValueError('cmd must be a list, got %s instead' % type(cmd))
108
108
109 out, err = self._remote.run_git_command(cmd, **opts)
109 out, err = self._remote.run_git_command(cmd, **opts)
110 log.debug('Stderr output of git command "%s":\n%s', cmd, err)
110 if err:
111 log.debug('Stderr output of git command "%s":\n%s', cmd, err)
111 return out, err
112 return out, err
112
113
113 @staticmethod
114 @staticmethod
General Comments 0
You need to be logged in to leave comments. Login now