git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tim Shimmin <tes@sgi.com>
To: git <git@vger.kernel.org>
Subject: git pull a subtree, embedded trees
Date: Wed, 13 Sep 2006 23:05:19 +1000	[thread overview]
Message-ID: <4508020F.2050604@sgi.com> (raw)

Hi,

I'm new to git and have a couple of novice questions.

* Is it possible to only pull in a subtree from
a repository.
Moreover, is it possible to have a subtree based on another
repository.
For example, have a topdir directory with subdirs,
s1, s2, s3 and s4. And then have say, s2 linked to
a repository rs2 and s3 linked to rs3, so that
one can update s2 and s3 from these other repositories but
having the rest of the tree linked from a main repository.

* Are there any tools for dumping out the contents of the
git objects in the .git/objects directory.
By dumping out, I mean an ascii representation of the data
fields for the commit and tree objects in particular.
I've written a simple small program to dump out the index
entries (cache entries).
I just want to see what is exactly stored in the .git
binary files and how they change when I do various git
operations.

Thanks a bunch.

--Tim

             reply	other threads:[~2006-09-13 13:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-13 13:05 Tim Shimmin [this message]
2006-09-13 14:21 ` git pull a subtree, embedded trees Jakub Narebski
2006-09-18  5:50   ` Timothy Shimmin
2006-09-18  5:58     ` Jakub Narebski
2006-09-18  6:42     ` Shawn Pearce
2006-09-18  6:47       ` Shawn Pearce
2006-09-13 15:00 ` Shawn Pearce
2006-09-18  5:57   ` Timothy Shimmin

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=4508020F.2050604@sgi.com \
    --to=tes@sgi.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.
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).