Revert "Skip COMMIT_EDITMSG contents when opening the file (#24146)" (#24216)

This commit is contained in:
Kirill Bulatov 2025-02-04 21:05:10 +02:00 committed by GitHub
parent e768eb0a34
commit 3e68f7fde4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 49 additions and 111 deletions

View file

@ -420,7 +420,6 @@ impl HeadlessProject {
worktree_id,
path: PathBuf::from(message.payload.path).into(),
},
message.payload.skip_file_contents,
cx,
)
});
@ -487,7 +486,6 @@ impl HeadlessProject {
worktree_id: worktree.read(cx).id(),
path: path.into(),
},
false,
cx,
)
});
@ -731,7 +729,6 @@ impl HeadlessProject {
worktree_id: worktree.read(cx).id(),
path: Arc::from(relative_path),
},
true,
cx,
)
})