def git_status(path):
 cmd = (git_cmd_base(path) + ['status', '--porcelain'])
 return run_subprocess(cmd, stderr=None, universal_newlines=True)[0]

def git_status ( path ) : cmd = ( git_cmd_base ( path ) + [ 'status' , '--porcelain' ] ) return run_subprocess ( cmd , stderr = None , universal_newlines = True ) [ 0 ]
return a string listing all changes to the working tree in a git repository .