def all_files(*args):
 ls_files = git.ls_files(u'--', z=True, cached=True, others=True, exclude_standard=True, *args)[STDOUT]
 return sorted([f for f in ls_files.split(u'\x00') if f])

def all_files ( * args ) : ls_files = git . ls_files ( u'--' , z = True , cached = True , others = True , exclude_standard = True , * args ) [ STDOUT ] return sorted ( [ f for f in ls_files . split ( u'\x00' ) if f ] )
returns a sorted list of all files .