def _git_diff_names_only(left, right='HEAD'):
 diff_cmd = (GIT_CMD_DIFF_NAMES_ONLY_FORMAT_STRING % (left, right))
 return _run_cmd(diff_cmd).splitlines()

def _git_diff_names_only ( left , right = 'HEAD' ) : diff_cmd = ( GIT_CMD_DIFF_NAMES_ONLY_FORMAT_STRING % ( left , right ) ) return _run_cmd ( diff_cmd ) . splitlines ( )
get names of changed files from git .