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 249d141 commit b9a1850Copy full SHA for b9a1850
tests/baseline.rs
@@ -25,7 +25,11 @@ fn all_aggregrated_diffs_equal_latest_version(
25
let index = crates_index_diff::Index::from_path_or_cloned(repo_path)?;
26
let changes = index.changes_between_commits(
27
git::hash::ObjectId::empty_tree(git::hash::Kind::Sha1),
28
- index.repository().head_id()?,
+ index
29
+ .repository()
30
+ .find_reference("refs/remotes/origin/HEAD")?
31
+ .target()
32
+ .id(),
33
)?;
34
35
use crates_index_diff::Change::*;
0 commit comments