Skip to content

Commit 1536fd8

Browse files
cruesslerByron
authored andcommitted
Adapt to changes in gix
1 parent b6fbf05 commit 1536fd8

File tree

1 file changed

+1
-1
lines changed
  • gitoxide-core/src/repository

1 file changed

+1
-1
lines changed

gitoxide-core/src/repository/log.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn log(mut repo: gix::Repository, out: &mut dyn std::io::Write, path: Option
1212
}
1313

1414
fn log_all(repo: gix::Repository, out: &mut dyn std::io::Write) -> Result<(), anyhow::Error> {
15-
let head = repo.head()?.peel_to_commit_in_place()?;
15+
let head = repo.head()?.peel_to_commit()?;
1616
let topo = gix::traverse::commit::topo::Builder::from_iters(&repo.objects, [head.id], None::<Vec<gix::ObjectId>>)
1717
.build()?;
1818

0 commit comments

Comments
 (0)