git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nick Williams <njw@jarb.freeserve.co.uk>
To: git@vger.kernel.org
Subject: bug in git-archive?
Date: Sat, 03 Mar 2007 16:07:49 +0000	[thread overview]
Message-ID: <esc64d$d2u$1@sea.gmane.org> (raw)

Hello everyone

git-archive only archives the current working dir (and sub dirs) even 
when no paths are specified. For example, if I do

git archive --format=tar --prefix=git-1.5.0.2/ HEAD > ~/test/test.tar

from with in the Documentation dir, then I only get part of the tree.

Is this the intended behavior?

The reason I ask is that from my (mis)reading of the man page I expect 
to get all of the tree unless paths are specified.

thanks

NJW

             reply	other threads:[~2007-03-03 16:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-03 16:07 Nick Williams [this message]
2007-03-03 16:09 ` bug in git-archive? Johannes Schindelin
2007-04-08 12:28 ` [PATCH] git-archive: document CWD effect René Scharfe
2007-04-08 23:21   ` Junio C Hamano
2007-04-09 15:04     ` René Scharfe
2007-04-09 20:00       ` Junio C Hamano
2007-04-09 20:37       ` Andy Parkins
2007-04-10 14:24         ` René Scharfe
2007-04-10 21:49           ` Junio C Hamano
2007-04-11 20:36             ` René Scharfe

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='esc64d$d2u$1@sea.gmane.org' \
    --to=njw@jarb.freeserve.co.uk \
    --cc=git@vger.kernel.org \
    /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).