git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: marc.zonzon@gmail.com
To: git@vger.kernel.org
Subject: how to filter a pull
Date: Thu, 3 May 2007 15:17:05 +0200	[thread overview]
Message-ID: <20070503131704.GA7036@kernoel.kernoel.fr> (raw)

I'm a git beginner (and an old user of cvs, and more recently of
subversion, and occasionally of arch)

I'm very pleased with the decentralized character of git and the ease
to manage branches. But I have a usual problem that I don't know how
to solve properly in git.

I have projects that draw some parts from two or three other
projects. But it is usually some small part, that are included, and
patched in my project. I want to follow the development of these fellow
projects.

My problem is that I can of course get a branch to host a copy of the
project (if the are under git I can clone and pull, if not I use the
native scm to import and commit in the branch). But now I cannot merge
in my development branch as I include only a small part. 

I found no way to register that I copy these part. The only one I can think of,
is to have a script to extract a sub branch  with only the appropriate
part and then pull from it (or push to my project). 
i.e. I pull from the project (if git) or update in cvs, or ..., then I
filter to extract the appropiate part, then push to my development branch.

But I suppose there are a lot of cleaner way to do it. And moreover
I'm quite sure that developers have met the same problem, and have solved it.

Sorry to ask such  a stupid question but 
(1) git naming itself stupid content tracker encourage dumb people
like me to ask stupid questions .
(2) I tried to RTFM, but could not find the appropriate page.

Thank you for any hint.

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 13:17 marc.zonzon [this message]
2007-05-03 15:07 ` how to filter a pull Peter Baumann
2007-05-03 18:21   ` Junio C Hamano
2007-05-03 19:32     ` marc zonzon
2007-05-03 20:37       ` Alex Riesen
2007-05-04 10:13     ` Karl Hasselström
2007-05-04 13:13       ` marc zonzon

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=20070503131704.GA7036@kernoel.kernoel.fr \
    --to=marc.zonzon@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.
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).