From: Stephen Bash <bash@genarts.com>
To: Mathieu Malaterre <mathieu.malaterre@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: error: refs/tags/2.0.9 does not point to a valid object!
Date: Mon, 18 Oct 2010 16:31:43 -0400 (EDT) [thread overview]
Message-ID: <23120755.523391.1287433903205.JavaMail.root@mail.hq.genarts.com> (raw)
In-Reply-To: <AANLkTi=JgVhkNVu70nW7_vbqWUsS=mnJGQDVBtm-dxJD@mail.gmail.com>
----- Original Message -----
> From: "Mathieu Malaterre" <mathieu.malaterre@gmail.com>
> To: git@vger.kernel.org
> Sent: Monday, October 18, 2010 3:23:57 PM
> Subject: error: refs/tags/2.0.9 does not point to a valid object!
>
> I am trying to convert a SVN repository to GIT.
>
> The filter ran for a couple of hours. But after the conversion I get
> the following:
>
> Initialized empty Git repository in /tmp/bla/.git/
> remote: Counting objects: 59368, done.
> remote: Compressing objects: 100% (25408/25408), done.
> remote: Total 59368 (delta 43461), reused 44204 (delta 33809)
> Receiving objects: 100% (59368/59368), 14.40 MiB | 14.27 MiB/s, done.
> Resolving deltas: 100% (43461/43461), done.
> error: refs/tags/2.0.9 does not point to a valid object!
> error: refs/tags/2.0.8 does not point to a valid object!
> error: refs/tags/2.0.7 does not point to a valid object!
> error: refs/tags/2.0.6 does not point to a valid object!
> error: refs/tags/2.0.5 does not point to a valid object!
> error: refs/tags/2.0.4 does not point to a valid object!
> error: refs/tags/2.0.16 does not point to a valid object!
> error: refs/tags/2.0.15 does not point to a valid object!
> error: refs/tags/2.0.14 does not point to a valid object!
> error: refs/tags/2.0.13 does not point to a valid object!
> error: refs/tags/2.0.12 does not point to a valid object!
> error: refs/tags/2.0.11 does not point to a valid object!
> error: refs/tags/2.0.10 does not point to a valid object!
>
> Could someone please let me know what I am doing wrong in my script
> in filter-branch.
Yep, I ran into the exact same problem. Short answer, move/remove the refs/original directory before cloning, and the issue should go away.
http://kerneltrap.org/mailarchive/git/2010/8/20/37441
There was also a proposed test case:
http://kerneltrap.org/mailarchive/git/2010/9/7/39119
HTH,
Stephen
next prev parent reply other threads:[~2010-10-18 20:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 19:23 error: refs/tags/2.0.9 does not point to a valid object! Mathieu Malaterre
2010-10-18 20:31 ` Stephen Bash [this message]
2010-10-19 11:15 ` Mathieu Malaterre
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=23120755.523391.1287433903205.JavaMail.root@mail.hq.genarts.com \
--to=bash@genarts.com \
--cc=git@vger.kernel.org \
--cc=mathieu.malaterre@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 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.