Re: how to git-archive ignore some files?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 11, 2008, 16:20 UTC
- Message-ID
- <7vwsm06cdd.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <4826CE0B.8080109@lsrfire.ath.cx>
René Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
> Another idea: would it make sense to have an attribute for that instead > (or in addition to the command line parameter)? I.e. files marked > export-ignore would not end up in the archive. I suspect the set of > files to ignore doesn't change from archive to archive one creates.
That sounds extremely sensible.
Should/does git-archive read .gitattributes from the tree being exported?