Re: error: refs/tags/2.0.9 does not point to a valid object!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 18, 2010 at 10:31 PM, Stephen Bash <bash@xxxxxxxxxxx> wrote:
>
>
> ----- Original Message -----
>> From: "Mathieu Malaterre" <mathieu.malaterre@xxxxxxxxx>
>> To: git@xxxxxxxxxxxxxxx
>> 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

This was indeed the problem. Just a simple rm -rf .git/refs/original/*
and original issue is gone.

Thank you so much !
-- 
Mathieu
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]