def diff_index_filenames(ref):
 out = git.diff_index(ref, name_only=True, z=True)[STDOUT]
 return _parse_diff_filenames(out)

def diff_index_filenames ( ref ) : out = git . diff_index ( ref , name_only = True , z = True ) [ STDOUT ] return _parse_diff_filenames ( out )
return a of filenames that have been modified relative to the index .