git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick Rutkowski <rutski89@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Sharing a file between projects
Date: Sat, 22 May 2010 12:24:31 -0400	[thread overview]
Message-ID: <D3671E72-7B04-446B-86A8-48761FD476E4@gmail.com> (raw)

Say that I've got several projects called P1, P2, and P3. Each project in a separate git repo. Each project has file foo.cfg. However, whenever I change foo.cfg in P1, I have to make the same change to the foo.cfg in P2 and P3.

They really are separate projects which ought to have their own git repos, I don't want to force a user checking out P1 to also check out P2 and P3.

But I also don't want to have to manually make sure that foo.cfg is synced among all three projects.

Any ideas here guys?

-Patrick

             reply	other threads:[~2010-05-22 16:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-22 16:24 Patrick Rutkowski [this message]
2010-05-24  8:55 ` Sharing a file between projects Jonathan Nieder

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=D3671E72-7B04-446B-86A8-48761FD476E4@gmail.com \
    --to=rutski89@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).