Dulwich.io dulwich / 07fab8d
Split line. Jelmer Vernooń≥ 27 days ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8282 :param commit: Commit
8383 :return: Summary string
8484 """
85 return commit.message.decode(errors='replace').splitlines()[0].replace(" ", "-")
85 decoded = commit.message.decode(errors='replace')
86 return decoded.splitlines()[0].replace(" ", "-")
8687
8788
8889 # Unified Diff