Skip to main content

commit_message

Function commit_message 

Source
pub fn commit_message(workdir: &Path, commit: &str) -> (String, String)
Expand description

(encoding, summary) of commit in the repository at workdir; both empty for an unreadable commit. Memoised per object id (commits are immutable): one git cat-file commit the first time a HEAD is seen.