From: Junio C Hamano Date: Mon, 17 Sep 2007 00:35:19 GMT Subject: Re: git-archive not working correctly ? Message-ID: <7vtzpu3z94.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1189983026.22727.61.camel@niki2.guldbrand.net> Niki Guldbrand writes: > git-archive --format= [--list] [--prefix=/] [] > [--remote=] [path...] > > > This can be any options that the archiver backend understand. > See next section. > > I want to git tar the "--exclude=option", but i can't get it through. > Is this option only valid for the zip format with the options "-0" and > "-9" ? The "next section" that sentence refers to is "BACKEND EXTRA OPTIONS" section, which lists -0 and -9 for zip backend. There is no --exclude=option in either tar or zip backend. Note that we do not use GNU tar or zip as archiver backends.