]> git.proxmox.com Git - cargo.git/blobdiff - vendor/git2/src/reflog.rs
New upstream version 0.35.0
[cargo.git] / vendor / git2 / src / reflog.rs
index 6996a89dae1becf8e3cd632f66a5c1cd107a1e34..b4ff7a03712648df071114e8058a60b6a71bde28 100644 (file)
@@ -115,7 +115,7 @@ impl<'reflog> ReflogEntry<'reflog> {
 
     /// Get the old oid
     pub fn id_old(&self) -> Oid {
-        unsafe { Binding::from_raw(raw::git_reflog_entry_id_new(self.raw)) }
+        unsafe { Binding::from_raw(raw::git_reflog_entry_id_old(self.raw)) }
     }
 
     /// Get the log message, returning `None` on invalid UTF-8.