def print_summary(string='<STR_LIT>', git_path=None):
if git_path is None: git_path = GIT_PATH<EOL>if not git_path_valid():<EOL><INDENT>print('<STR_LIT>' % string)<EOL><DEDENT>else:<EOL><INDENT>last_commit = get_last_commit_line()<EOL>print('<STR_LIT>'.format(string, last_commit))<EOL>if not check_clean_status():<EOL><INDENT>print('<STR_LIT>')<EOL>print(get_status())<EOL><DEDENT><DEDENT>
Print the last commit line and eventual uncommitted changes.