mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Remove unnecessary timing measurement in ApiContext:read function to streamline performance logging
This commit is contained in:
parent
a4042d3d97
commit
c0f5a01e17
2 changed files with 1 additions and 5 deletions
|
|
@ -564,10 +564,7 @@ pub fn git_add(repo_root: &Path, paths: &[PathBuf]) {
|
|||
Ok(m) => m,
|
||||
Err(_) => continue,
|
||||
};
|
||||
let stat = match gix::index::entry::Stat::from_fs(&gix_meta) {
|
||||
Ok(s) => s,
|
||||
Err(_) => gix::index::entry::Stat::default(),
|
||||
};
|
||||
let stat = gix::index::entry::Stat::from_fs(&gix_meta).unwrap_or_default();
|
||||
|
||||
if let Some(existing) = index
|
||||
.entry_mut_by_path_and_stage(bstr_path.as_ref(), gix::index::entry::Stage::Unconflicted)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue