Commit f347c6da5e83b137c337f9ccb190090c27cfc953

added support for GIT_PYTHON_TRACE=='full', thx to SRabbelier for the suggestion

Commit diff

lib/git/cmd.py

 
8484 tuple(int(status), str(output)) # with_status = True
8585 """
8686
87 if GIT_PYTHON_TRACE:
88 print command
87 if GIT_PYTHON_TRACE and not GIT_PYTHON_TRACE == 'full':
88 print ' '.join(command)
8989
9090 # Allow stderr to be merged into stdout when with_stderr is True.
9191 # Otherwise, throw stderr away.
117117 raise GitCommandError("%s returned exit status %d"
118118 % (str(command), status))
119119
120 if GIT_PYTHON_TRACE == 'full':
121 print "%s %d: '%s'" % (command, status, stdout_value)
122
120123 # Allow access to the command's status code
121124 if with_status:
122125 return (status, stdout_value)
toggle raw diff