feat: track checkout identity for pinned diff editability
This commit is contained in:
@@ -558,6 +558,7 @@ fn diff_repository(fixture: &Fixture, historical: bool) -> (String, Option<Strin
|
||||
repository(fixture, &["add", "."]);
|
||||
repository(fixture, &["commit", "-qm", "after"]);
|
||||
let after = repository(fixture, &["rev-parse", "HEAD"]);
|
||||
repository(fixture, &["checkout", "--detach", &before]);
|
||||
fs::write(&fixture.source, "disk is not the historical source\n").unwrap();
|
||||
fs::write(&fixture.target, "disk is not the historical target\n").unwrap();
|
||||
after
|
||||
|
||||
Reference in New Issue
Block a user