ok/jj
1
0
Fork 0
forked from mirrors/jj

git: fix bad formatting from commit 1e9d428406

This commit is contained in:
Martin von Zweigbergk 2021-03-14 22:27:17 -07:00
parent 91117f36b6
commit 43315bc9d2

View file

@ -111,7 +111,9 @@ fn test_import_refs_reimport() {
let commit3 = empty_git_commit(&git_repo, "refs/heads/feature1", &[&commit2]); let commit3 = empty_git_commit(&git_repo, "refs/heads/feature1", &[&commit2]);
let commit4 = empty_git_commit(&git_repo, "refs/heads/feature2", &[&commit2]); let commit4 = empty_git_commit(&git_repo, "refs/heads/feature2", &[&commit2]);
let pgp_key_oid = git_repo.blob(b"my PGP key").unwrap(); let pgp_key_oid = git_repo.blob(b"my PGP key").unwrap();
git_repo.reference("refs/tags/my-gpg-key", pgp_key_oid, false, "").unwrap(); git_repo
.reference("refs/tags/my-gpg-key", pgp_key_oid, false, "")
.unwrap();
let heads_before = repo.view().heads().clone(); let heads_before = repo.view().heads().clone();
let mut tx = repo.start_transaction("test"); let mut tx = repo.start_transaction("test");