We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3938af1 commit e55f57dCopy full SHA for e55f57d
src/reflog.rs
@@ -115,7 +115,7 @@ impl<'reflog> ReflogEntry<'reflog> {
115
116
/// Get the old oid
117
pub fn id_old(&self) -> Oid {
118
- unsafe { Binding::from_raw(raw::git_reflog_entry_id_new(self.raw)) }
+ unsafe { Binding::from_raw(raw::git_reflog_entry_id_old(self.raw)) }
119
}
120
121
/// Get the log message, returning `None` on invalid UTF-8.
0 commit comments