From: "Shawn O. Pearce" <spearce@spearce.org>
To: Troy Telford <ttelford.groups@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Git fast-import file format question
Date: Tue, 7 Jul 2009 12:10:55 -0700 [thread overview]
Message-ID: <20090707191055.GA11191@spearce.org> (raw)
In-Reply-To: <1e30a6d10907071206u21ecd9d8wb53441a3bf7b64c4@mail.gmail.com>
Troy Telford <ttelford.groups@gmail.com> wrote:
> When I was looking at the man page for git-fast-import (and looking at
> the output of git-fast-export for a valid git repo), I noted the
> "from" directive. There's a clip there that tells me that "Omitting
> the from command on existing branches is usually desired, as the
> current commit on that branch is automatically assumed to be the first
> ancestor of the new commit."
That section meant "existing branches within this import session".
To restart an import, you need to use the from command in the
first commit of that session, e.g. to restart an import on
refs/heads/master use:
from refs/heads/master^0
--
Shawn.
prev parent reply other threads:[~2009-07-07 19:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 19:06 Git fast-import file format question Troy Telford
2009-07-07 19:10 ` Shawn O. Pearce [this message]
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=20090707191055.GA11191@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=ttelford.groups@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).