(commit)
| 1001 | |
| 1002 | |
| 1003 | def extractLogMessageFromGitCommit(commit): |
| 1004 | logMessage = "" |
| 1005 | |
| 1006 | # fixme: title is first line of commit, not 1st paragraph. |
| 1007 | foundTitle = False |
| 1008 | for log in read_pipe_lines(["git", "cat-file", "commit", commit]): |
| 1009 | if not foundTitle: |
| 1010 | if len(log) == 1: |
| 1011 | foundTitle = True |
| 1012 | continue |
| 1013 | |
| 1014 | logMessage += log |
| 1015 | return logMessage |
| 1016 | |
| 1017 | |
| 1018 | def extractSettingsGitLog(log): |
no test coverage detected