def tracked_files(*args):
 out = git.ls_files(u'--', z=True, *args)[STDOUT]
 if out:
  return sorted(out[:(-1)].split(u'\x00'))
 else:
  return []

def tracked_files ( * args ) : out = git . ls_files ( u'--' , z = True , * args ) [ STDOUT ] if out : return sorted ( out [ : ( - 1 ) ] . split ( u'\x00' ) ) else : return [ ]
return the names of all files in the repository .