-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix bug dest path of copying tar #3194
Conversation
Could you add a tests for this? |
LGTM |
Code change LGTM, test should be added before merge. |
when podman cp tar without --extract flag, if the destination already exists, or ends with path seprator, cp the tar under the directory, otherwise copy the tar named with the destination Signed-off-by: Qi Wang <qiwan@redhat.com>
Added the unit tests and passed the CI |
LGTM |
/lgtm |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, QiWang19 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
when podman cp tar without --extract flag, if the destination already exists, or ends with a path separator, cp the tar under the directory, otherwise copy the tar named with the destination
close #3184
podman cp tar destdir
will change the destination directory into the tar fileSigned-off-by: Qi Wang qiwan@redhat.com