pub fn read_reflog(git_dir: &Path, refname: &str) -> Result<Vec<ReflogEntry>>Expand description
Read and parse .git/logs/<refname> for git_dir.
Returns an empty vec (not an error) when the log file is absent — git only creates a log once a ref has moved, so absence is normal, not a failure.
§Errors
Propagates a non-NotFound I/O error encountered reading the log file.