We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daf3389 + 82ae37d commit 7611fa4Copy full SHA for 7611fa4
gix-worktree/src/checkout/entry.rs
@@ -164,8 +164,20 @@ where
164
entry.stat = Stat::from_fs(&std::fs::symlink_metadata(dest)?)?;
165
obj.data.len()
166
}
167
- gix_index::entry::Mode::DIR => todo!(),
168
- gix_index::entry::Mode::COMMIT => todo!(),
+ gix_index::entry::Mode::DIR => {
+ gix_features::trace::warn!(
169
+ "Skipped sparse directory at '{entry_path}' ({id}) as it cannot yet be handled",
170
+ id = entry.id
171
+ );
172
+ 0
173
+ }
174
+ gix_index::entry::Mode::COMMIT => {
175
176
+ "Skipped submodule at '{entry_path}' ({id}) as it cannot yet be handled",
177
178
179
180
181
_ => unreachable!(),
182
};
183
Ok(Outcome::Written { bytes: object_size })
0 commit comments