git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: picca <picca@synchrotron-soleil.Fr>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: tracking a file from another project in my own project
Date: Tue, 22 Jan 2008 14:56:58 +0100	[thread overview]
Message-ID: <20080122145658.18b6ef89@synchrotron-soleil.Fr> (raw)
In-Reply-To: <7v7ii2rzbq.fsf@gitster.siamese.dyndns.org>

On Tue, 22 Jan 2008 01:20:41 -0800
Junio C Hamano <gitster@pobox.com> wrote:

> If I were you I'd probably just keep git.git as a submodule in
> your project and have two symlinks from your toplevel pointing
> at git.git/strbuf.[ch] (or from src/ to ../git.git/strbuf.[ch]).

So submodule is a requirement to achieved this comportment ?

If someone want to clone my project.git, must he also clone the
git.git project or he loose the ability to follow by it's own the
strbuf.[ch] file ?

> Or "merge -s subtree".

I red the git help merge -s explanation but I do not understand how
it can help in my case.

Thanks

Frederic

  reply	other threads:[~2008-01-22 13:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-22  8:35 tracking a file from another project in my own project picca
2008-01-22  9:20 ` Junio C Hamano
2008-01-22 13:56   ` picca [this message]
2008-01-22 15:23     ` Jakub Narebski
2008-01-22 17:30       ` Sergei Organov
2008-01-22 18:34         ` Jakub Narebski

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=20080122145658.18b6ef89@synchrotron-soleil.Fr \
    --to=picca@synchrotron-soleil.fr \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.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).