Closed DavideMessinaARS closed 1 year ago
I feel a bit uncomfortable with custom parsers for the gitattributes format. For example this doesn't seem to support the *
and **
wildcards ?
Mmmh... you are right. Sorry for wasting your time, but I felt this would have been a fine addition to the function, at least to make it a little bit less custom and more like the true 'git archive' command. I will find another solution then to our necessities.
The original git command 'git archive' considers the existence of .gitattributes and searches for files or directories with attributes 'export-ignore' or 'export-subst' inside it. The modification is about implementing the functionality connected to 'export-ignore'. What it does is ignore files/folders with that attribute when building the archive.
In theory, it should work as the normal 'git archive' command