* git-archive not working correctly ?
@ 2007-09-16 22:50 Niki Guldbrand
2007-09-17 0:31 ` Frank Lichtenheld
2007-09-17 0:35 ` Junio C Hamano
0 siblings, 2 replies; 3+ messages in thread
From: Niki Guldbrand @ 2007-09-16 22:50 UTC (permalink / raw)
To: git
Hi.
I have been playing with git-archive for and hour or so, but can't get
it to pass "extra" options to tar as it's documented that it should, or
am i reading the docs wrong ?
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" ?
Kind regards
Niki Guldbrand
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-archive not working correctly ?
2007-09-16 22:50 git-archive not working correctly ? Niki Guldbrand
@ 2007-09-17 0:31 ` Frank Lichtenheld
2007-09-17 0:35 ` Junio C Hamano
1 sibling, 0 replies; 3+ messages in thread
From: Frank Lichtenheld @ 2007-09-17 0:31 UTC (permalink / raw)
To: Niki Guldbrand; +Cc: git
On Mon, Sep 17, 2007 at 12:50:26AM +0200, Niki Guldbrand wrote:
> I have been playing with git-archive for and hour or so, but can't get
> it to pass "extra" options to tar as it's documented that it should, or
> am i reading the docs wrong ?
>
> 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" ?
Yes. The tar backend currently doesn't support any extra options.
Gruesse,
--
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-archive not working correctly ?
2007-09-16 22:50 git-archive not working correctly ? Niki Guldbrand
2007-09-17 0:31 ` Frank Lichtenheld
@ 2007-09-17 0:35 ` Junio C Hamano
1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2007-09-17 0:35 UTC (permalink / raw)
To: Niki Guldbrand; +Cc: git
Niki Guldbrand <niki.guldbrand@gmail.com> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-17 0:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-16 22:50 git-archive not working correctly ? Niki Guldbrand
2007-09-17 0:31 ` Frank Lichtenheld
2007-09-17 0:35 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).