git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
SBStephen Bash <bash@genarts.com>
Date
Oct 18, 2010, 20:31 UTC
Message-ID
<23120755.523391.1287433903205.JavaMail.root@mail.hq.genarts.com>
In-Reply-To
<AANLkTi=JgVhkNVu70nW7_vbqWUsS=mnJGQDVBtm-dxJD@mail.gmail.com>
----- Original Message -----
Show 32 quoted lines
> 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

Previous: Mathieu MalaterreNext: Mathieu Malaterre
Message 2 of 3 in “error: refs/tags/2.0.9 does not point to a valid object!”
  1. Mathieu MalaterreOct 18, 2010
  2. Stephen BashOct 18, 2010
  3. Mathieu MalaterreOct 19, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.