From: Frank Lichtenheld <frank@lichtenheld.de>
To: Niki Guldbrand <niki.guldbrand@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git-archive not working correctly ?
Date: Mon, 17 Sep 2007 02:31:15 +0200 [thread overview]
Message-ID: <20070917003115.GV22865@planck.djpig.de> (raw)
In-Reply-To: <1189983026.22727.61.camel@niki2.guldbrand.net>
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/
next prev parent reply other threads:[~2007-09-17 0:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-16 22:50 git-archive not working correctly ? Niki Guldbrand
2007-09-17 0:31 ` Frank Lichtenheld [this message]
2007-09-17 0:35 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070917003115.GV22865@planck.djpig.de \
--to=frank@lichtenheld.de \
--cc=git@vger.kernel.org \
--cc=niki.guldbrand@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).