Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git-archive not working correctly ?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:35

Niki Guldbrand [off-list ref] writes:
git-archive --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>]
[--remote=<repo>] <tree-ish> [path...]

<extra>
        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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help