mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-02 17:40:26 +00:00
.zip.zip file ending results in unreachable code panic #10
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @happenslol on 3/26/2025
Version
0.5.1
Description
Reproducible with the following commands:
Current Behavior
Full backtrace:
Expected Behavior
It's a weird case, but it should work and only the last ending should be examined IMO. This happened when a friend sent me a zip from windows, and I suspect they had the "hide known file endings" option turned on and then renamed the file to
something.zip
before sending, which then turned the actual filename tosomething.zip.zip
. Renaming the file fixes the issue, but this should be easy to fix inouch
as well I think.I'll have a look soon if this isn't fixed already by then.
Additional Information
No response