All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Barbato <lu_zero@gentoo.org>
To: git@vger.kernel.org
Subject: moving self contained subdirectories from a project to another
Date: Mon, 18 Jun 2007 14:24:25 +0200	[thread overview]
Message-ID: <46767979.2030303@gentoo.org> (raw)

Lately I'm trying to move a subdirectory from one project to another,
both tracked in git.

This directory is currently duplicated in two different projects and my
plan was to remove it from those and make a library so it could be
shared between them.

Now, the simple way would be get a scratchpad branch, prune everything
but what I want, push to the library repo, make the projects use it.

There is already a script that automates this task? There are any
pitfalls I'm not considering?

lu

PS: keep me on CC since I'm not subscribed

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

                 reply	other threads:[~2007-06-18 12:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=46767979.2030303@gentoo.org \
    --to=lu_zero@gentoo.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.