From: Charles Bailey <charles@hashpling.org>
To: Dmitry Potapov <dpotapov@gmail.com>
Cc: Gregory Jefferis <jefferis@gmail.com>, git@vger.kernel.org
Subject: Re: Stitching together private svn repo and public git repo
Date: Wed, 2 Jan 2008 22:46:11 +0000 [thread overview]
Message-ID: <20080102224611.GA14984@hashpling.org> (raw)
In-Reply-To: <37fcd2780801021413g5f2a602dkb9fc289a13517375@mail.gmail.com>
On Thu, Jan 03, 2008 at 01:13:54AM +0300, Dmitry Potapov wrote:
> I believe there is a much easier way to do that using .git/info/grafts
> The first step is to create .git/info/grafts, which specifies commit-id
> and its parents for each commit that you want to change. Then you
> can check the result using gitk, and if you are satisfied with what
> you see then you run git filter-branch on it to convert 'fake' parents
> into real ones.
>
> Dmitry
>
Oh yes, this is much easier. Unless I'm missing something, the
documentation on grafts is fairly sparse, though. They are mentioned
(almost in passing) in git help filter-branch but the file format is
only documented in repository-layout.txt which seems more developer
than user oriented.
Charles.
next prev parent reply other threads:[~2008-01-02 22:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-02 19:25 Stitching together private svn repo and public git repo Gregory Jefferis
2008-01-02 21:40 ` Charles Bailey
2008-01-02 22:13 ` Dmitry Potapov
2008-01-02 22:46 ` Charles Bailey [this message]
2008-01-03 14:43 ` Gregory Jefferis
2008-01-03 17:24 ` Junio C Hamano
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=20080102224611.GA14984@hashpling.org \
--to=charles@hashpling.org \
--cc=dpotapov@gmail.com \
--cc=git@vger.kernel.org \
--cc=jefferis@gmail.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).