def get_last_commit_line(git_path=None):
if git_path is None: git_path = GIT_PATH<EOL>output = check_output([git_path, "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT>", "<STR_LIT>"])<EOL>return output.strip()[<NUM_LIT:1>:-<NUM_LIT:1>]<EOL>
Get one-line description of HEAD commit for repository in current dir.