Skip COMMIT_EDITMSG contents when opening the file (#24146)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user