Skip to content

Ignores .git folder Fix #67#68

Merged
danielbachhuber merged 1 commit intowp-cli:mainfrom
BrianHenryIE:Fix-#67
Oct 7, 2022
Merged

Ignores .git folder Fix #67#68
danielbachhuber merged 1 commit intowp-cli:mainfrom
BrianHenryIE:Fix-#67

Conversation

@BrianHenryIE
Copy link
Copy Markdown
Member

@BrianHenryIE BrianHenryIE commented Oct 7, 2022

Escaping the command line invocation of tar breaks wildcards and exclusions, '^', '*', but NOT escaping those characters breaks zip. This PR conditionally escapes/does not escape based on the chosen output file format.

@BrianHenryIE BrianHenryIE requested a review from a team as a code owner October 7, 2022 14:37
@danielbachhuber danielbachhuber added this to the 3.0.0 milestone Oct 7, 2022
Copy link
Copy Markdown
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @BrianHenryIE !

@danielbachhuber danielbachhuber merged commit 09cda91 into wp-cli:main Oct 7, 2022
@danielbachhuber danielbachhuber added bug command:dist-archive Related to 'dist-archive' command labels Oct 7, 2022
@kraftner
Copy link
Copy Markdown

@BrianHenryIE Thanks for picking up #67 and implementing a fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug command:dist-archive Related to 'dist-archive' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants