From: Junio C Hamano Date: Sun, 11 May 2008 16:20:46 GMT Subject: Re: how to git-archive ignore some files? Message-ID: <7vwsm06cdd.fsf@gitster.siamese.dyndns.org> In-Reply-To: <4826CE0B.8080109@lsrfire.ath.cx> René Scharfe 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?