def __get_files_to_be_added(self, repository):
for root, dirs, files in os.walk(repository.working_dir):<EOL><INDENT>for f in files:<EOL><INDENT>relative_path = os.path.join(root, f)[len(repository.working_dir) + <NUM_LIT:1>:]<EOL>try:<EOL><INDENT>repository.head.commit.tree[relative_path] <EOL>yield relative_path<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>
:return: the files that have been modified and can be added