MCPcopy Index your code
hub / github.com/git/git / extractLogMessageFromGitCommit

Function extractLogMessageFromGitCommit

git-p4.py:1003–1015  ·  view source on GitHub ↗
(commit)

Source from the content-addressed store, hash-verified

1001
1002
1003def 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
1018def extractSettingsGitLog(log):

Callers 8

findUpstreamBranchPointFunction · 0.85
applyCommitMethod · 0.85
exportGitTagsMethod · 0.85
gitCommitByP4ChangeMethod · 0.85
runMethod · 0.85
findLastP4RevisionMethod · 0.85
runMethod · 0.85

Calls 1

read_pipe_linesFunction · 0.85

Tested by

no test coverage detected