Skip COMMIT_EDITMSG contents when opening the file (#24146)

This commit is contained in:
Kirill Bulatov 2025-02-04 07:23:14 +02:00 committed by GitHub
parent 225f0c4d12
commit ea66a54cf8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 110 additions and 48 deletions

View file

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