From: Stephen Bash <bash@genarts.com>
To: git@vger.kernel.org
Subject: Tags, Grafts, and Clones, oh my!
Date: Thu, 19 Aug 2010 20:54:29 -0400 (EDT) [thread overview]
Message-ID: <15347445.117294.1282265669453.JavaMail.root@mail.hq.genarts.com> (raw)
In-Reply-To: <29380346.117285.1282264933599.JavaMail.root@mail.hq.genarts.com>
Hi all-
I'm currently working on migrating my company's SVN repository to git. Based on a conversation with Ram at the beginning of the summer, I'm using svn-fe plus a couple of my own scripts. To create the git branches and tags from the svn-fe generated repo I clone a bunch of "mini-repos", which I subdirectory-filter, then git fetch the branches/tags from the mini-repos into a "fusion" repo where I graft everything back together, and finally one last filter-branch to permanently commit the grafts.
Unfortunately I'm running into a problem with cloning the resulting repository. Any git tags that are not associated with a live branch are declared invalid:
error: refs/tags/tagFoo does not point to a valid object!
I've now reproduced this issue in micro (much easier to work with than the 20k commits in the real repo), and it does go away if I git checkout -b branchFoo tagFoo before cloning the repository. I've examined the source repository, and the tag appears valid to me, as does the commit it points to. The first error I see is during the clone.
Does this situation make sense to anyone? If it's a potential bug (rather than user error), I can submit my testcase. I'm currently working with git 1.7.2.1 on MacOS 10.6.4.
Any ideas will be greatly appreciated!
Thanks,
Stephen
next parent reply other threads:[~2010-08-20 0:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <29380346.117285.1282264933599.JavaMail.root@mail.hq.genarts.com>
2010-08-20 0:54 ` Stephen Bash [this message]
2010-08-20 6:15 ` Tags, Grafts, and Clones, oh my! Ramkumar Ramachandra
2010-08-20 13:00 ` Stephen Bash
2010-08-20 13:39 ` Ramkumar Ramachandra
2010-08-20 14:40 ` Stephen Bash
2010-08-20 19:08 ` refs/original breaks git-clone for tags (was Re: Tags, Grafts, and Clones, oh my!) Stephen Bash
2010-09-07 23:14 ` refs/original breaks git-clone for tags 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=15347445.117294.1282265669453.JavaMail.root@mail.hq.genarts.com \
--to=bash@genarts.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).