fix immediate dereference of reference

This commit is contained in:
blinxen committed 2026-06-26 20:27:49 +02:00
1 parent f9eed8d619
commit df164cc2e3
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ mod tests {
fn create_and_track_file(repo: &tempfile::TempDir, filename: &str) -> PathBuf {
let filepath = repo.path().join(filename);
std::fs::write(&filepath, "file\n").expect("can write file");
git(repo.path(), &["add", &filename]);
git(repo.path(), &["add", filename]);
git(repo.path(), &["commit", "-m", "initial"]);
filepath.to_owned()