Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Categories Used:
### Bug Fixes

- Fix various panics not handled gracefully (https://github.com/ouch-org/ouch/pull/950)
- Handle GNUSparse archive entries during tar decompression (https://github.com/ouch-org/ouch/pull/975)

### Tweaks

Expand Down
2 changes: 1 addition & 1 deletion src/archive/tar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub fn unpack_archive(reader: impl Read, output_folder: &Path) -> Result<u64> {

fs::hard_link(&full_target_path, &full_link_path)?;
}
tar::EntryType::Regular => {
tar::EntryType::Regular | tar::EntryType::GNUSparse => {
entry.unpack_in(output_folder)?;
}
tar::EntryType::Directory => {
Expand Down
Loading