git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Whit Armstrong" <armstrong.whit@gmail.com>
To: git@vger.kernel.org
Subject: git-archive and submodules
Date: Sat, 29 Mar 2008 09:47:27 -0400	[thread overview]
Message-ID: <8ec76080803290647h25e86f18k7a86bc4cb2cc3d38@mail.gmail.com> (raw)

Is there a way to ask git-archive to archive the submodules of the
project as well?

I have a project that needs it's submoduels distributed with it.

Is anyone else using submodules in this way?

my project is: 	git://repo.or.cz/fts.git

It has a submodule: 	tslib at git://repo.or.cz/tslib.git

I create the archive by:
git archive --format=tar --prefix=fts/ HEAD | gzip > ~/fts.tar.gz

and when I go into the tslib submodule directory after expanding the
archive, it is empty.

-Whit

             reply	other threads:[~2008-03-29 13:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 13:47 Whit Armstrong [this message]
2008-03-29 13:52 ` git-archive and submodules Shawn O. Pearce
2008-03-29 14:13   ` Whit Armstrong
2008-03-29 21:05   ` CJ van den Berg
  -- strict thread matches above, loose matches on Subject: below --
2009-07-20 16:22 Woody Gilk
2009-07-20 17:33 ` Avery Pennarun
2009-07-20 20:56 ` Thomas Rast
2012-04-19 20:10 André Caron
2012-04-20  8:11 ` Jens Lehmann
2012-04-20 18:32   ` Fwd: " André Caron
2012-04-22 18:47     ` Robert Quattlebaum
2013-10-10 14:09       ` Damien Regad
2013-10-10 19:22         ` Amit Bakshi
2016-10-26 20:37 Anatoly Borodin
2016-10-26 21:04 ` Stefan Beller

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ec76080803290647h25e86f18k7a86bc4cb2cc3d38@mail.gmail.com \
    --to=armstrong.whit@gmail.com \
    --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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).