def get_files(commit_only=True, copy_dest=None):
if commit_only:<EOL><INDENT>real_files = bash(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>).value().strip()<EOL><DEDENT>else:<EOL><INDENT>real_files = bash(<EOL>"<STR_LIT>"<EOL>).value().strip()<EOL><DEDENT>if real_files:<EOL><INDENT>return create_fake_copies(real_files.split('<STR_LIT:\n>'), copy_dest)<EOL><DEDENT>return []<EOL>
Get copies of files for analysis.