def get_staged_files():
proc = subprocess.Popen(('<STR_LIT>', '<STR_LIT:status>', '<STR_LIT>'),<EOL>stdout=subprocess.PIPE,<EOL>stderr=subprocess.PIPE)<EOL>out, _ = proc.communicate()<EOL>staged_files = modified_re.findall(out)<EOL>return staged_files<EOL>
Get all files staged for the current commit.