Cannot Exclude '.git' folder when vendoring top-level of git repo #408
Labels
bug
This issue describes a defect or unexpected behavior
carvel-triage
This issue has not yet been reviewed for validity
What steps did you take:
Vendor a repository from git with
**/*
or empty includePaths and excludePaths set to.git/
.What happened:
the .git folder was present in the vendored folder, causing git to detect a sub-project and storing metadata of the vendored project
What did you expect:
the
.git
folder not being copied to the vendored folder, hiding git metadata of the vendored repositoryAnything else you would like to add:
I also tried various other combinations for specifing the git folder including postfixing with
**/*
, prefixing with the content path, omitting the trailing slash, prefixing with./
etcEnvironment:
vendir --version
): 0.43.0/etc/os-release
): Ubuntu 24.04.1 LTSVote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: