Skip to content

Commit 387d502

Browse files
committed
fix: Make parse_raw_commit public
This makes it usable from other libraries.
1 parent fe8257e commit 387d502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clog.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ impl Clog {
782782
.collect()
783783
}
784784

785-
fn parse_raw_commit(&self, commit_str: &str) -> Commit {
785+
pub fn parse_raw_commit(&self, commit_str: &str) -> Commit {
786786
let mut lines = commit_str.lines();
787787

788788
let hash = lines.next().unwrap_or("").to_owned();

0 commit comments

Comments
 (0)