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

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

From
Mathieu Malaterre <mathieu.malaterre@gmail.com>
Date
Oct 18, 2010, 19:23 UTC
Message-ID
<AANLkTi=JgVhkNVu70nW7_vbqWUsS=mnJGQDVBtm-dxJD@mail.gmail.com>
Hi there,
  I am trying to convert a SVN repository to GIT. After the conversion
I tried to do some cleanups (git plumbing):

$ git filter-branch --prune-empty -f --tree-filter 'find . -type f -a \( -name \*.txx -o -name \*.cxx -o -name \*.h -o -name \*.dtd -o -name \*.dtd -o -name \*.xsd -o -name \*.txt -o -name \*.rc -o -name \*.linux \) -exec sudo dos2unix -p {} \;' --tag-name-filter cat -- --all

  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.
Thanks a bunch !
-- 
Mathieu
Next: Stephen Bash
Message 1 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.