{"thread":{"id":"28324","subject":"Issue fetching tags error: unable to find eb03b... ; git fsck shows no problem...","startedAt":"2011-09-07T16:14:58Z","lastAt":"2011-09-07T16:30:32Z","messageCount":2,"participants":["James Blackburn"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"174985","messageId":"CACyv8dcTi0pG_GPvxD1zoTf6iRG81KbaY43FA-pbxYJz2UVJcQ@mail.gmail.com","threadId":"28324","inReplyTo":null,"subject":"Issue fetching tags error: unable to find eb03b... ; git fsck shows no problem...","fromName":"James Blackburn","fromEmail":"jamesblackburn@gmail.com","sentAt":"2011-09-07T16:14:58Z","receivedAt":"2011-09-07T16:14:58Z","isPatch":false,"sender":{"key":"jamesblackburn@gmail.com","avatar":"https://gravatar.com/avatar/dacd1de956aceccae413b86cfb42fa952deb80631f85c4be6da4093e37416479?d=mp&s=160"},"body":"Hi All,\n\nI've got an error I can't seem to resolve. Fsck reports both my\nrepositories are OK, but git fetch --tags tells me it can't find an\nobject.\n\nbash:jamesb:xl-cbga-20:32867> git --version\ngit version 1.7.6\nbash:jamesb:xl-cbga-20:32864> git remote add old_tags ../old_tags/\nbash:jamesb:xl-cbga-20:32865> git fetch old_tags\nFrom ../old_tags\n* [new branch]      master     -> old_tags/master\n...\nbash:jamesb:xl-cbga-20:32866> git fetch --tags old_tags\nremote: Counting objects: 33613, done.\nremote: Compressing objects: 100% (11778/11778), done.\nremote: Total 33529 (delta 18473), reused 30013 (delta 15779)\nReceiving objects: 100% (33529/33529), 28.59 MiB | 8.06 MiB/s, done.\nResolving deltas: 100% (18473/18473), completed with 17 local objects.\nerror: unable to find eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f\nfatal: object eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f not found\n\ngit fsck --full shows no errors in old_tags.\ngit show eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f in old_tags seems to work:\n\ncommit eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f\nAuthor: (no author) <(no author)@e3bda1c8-b8c7-484d-b8f9-8c0514bc73ff>\nDate:   Tue Oct 10 09:44:47 2006 +0000\n\n   This commit was manufactured by cvs2svn to create tag 'releases/3_2_0-5'.\n\n   git-svn-id: svn://eng-cbga-2/tools/eclipse/tags/releases/3_2_0-5@39\ne3bda1c8-b8c7-484d-b8f9-8c0514bc73ff\n\ndiff --git a/org.eclipse.cdt/org.eclipse.cdt.doc.isv/reference/api/allclasses-frame.html\nb/org.eclipse.cdt/org.eclipse.cdt.doc.isv/reference/api/\nallclasses-frame.html\n...\n\n\nAny ideas how to resolve this?\n\nCheers,\nJames\n"},{"id":"174988","messageId":"CACyv8dfopPtqWxMYwx3wGipc8+v7iPJO4+Esjk51kGuN8BSwuA@mail.gmail.com","threadId":"28324","inReplyTo":"CACyv8dcTi0pG_GPvxD1zoTf6iRG81KbaY43FA-pbxYJz2UVJcQ@mail.gmail.com","subject":"Re: Issue fetching tags error: unable to find eb03b... ; git fsck shows no problem...","fromName":"James Blackburn","fromEmail":"jamesblackburn@gmail.com","sentAt":"2011-09-07T16:30:32Z","receivedAt":"2011-09-07T16:30:32Z","isPatch":false,"sender":{"key":"jamesblackburn@gmail.com","avatar":"https://gravatar.com/avatar/dacd1de956aceccae413b86cfb42fa952deb80631f85c4be6da4093e37416479?d=mp&s=160"},"body":"I can get the fetch to work, by removing refs/original in the source repo:\n\nbash:jamesb:xl-cbga-20:32942> git fetch --tags old\nremote: Counting objects: 35469, done.\nremote: Compressing objects: 100% (11562/11562), done.\nremote: Total 33792 (delta 18883), reused 30509 (delta 16197)\nReceiving objects: 100% (33792/33792), 28.10 MiB | 8.28 MiB/s, done.\nResolving deltas: 100% (18883/18883), completed with 443 local objects.\nerror: unable to find eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f\nfatal: object eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f not found\n\nbash:jamesb:xl-cbga-20:32943> rm -rf ../old_tagsX/.git/refs/original/\nbash:jamesb:xl-cbga-20:32944> git fetch --tags old\nremote: Counting objects: 1404, done.\nremote: Compressing objects: 100% (570/570), done.\nremote: Total 1014 (delta 480), reused 659 (delta 233)\nReceiving objects: 100% (1014/1014), 1.66 MiB, done.\nResolving deltas: 100% (480/480), completed with 195 local objects.\nFrom ../old_tagsX\n * [new tag]         3.2.0-5    -> 3.2.0-5\n...\n\nbash:jamesb:xl-cbga-20:32945> git show eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f\ncommit eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f\nAuthor: (no author) <(no author)@e3bda1c8-b8c7-484d-b8f9-8c0514bc73ff>\nDate:   Tue Oct 10 09:44:47 2006 +0000\n\n    This commit was manufactured by cvs2svn to create tag 'releases/3_2_0-5'.\n...\n\n\nNote that the object was present all along!\n\n(In old_repo I had done: git filter-branch --prune-empty -- --all)\n\nI have a backup of the repo, and this is repeatable for me, is there\nan odd interaction between fetch and refs/original?\n\nCheers,\nJames\n\n\nOn 7 September 2011 17:14, James Blackburn <jamesblackburn@gmail.com> wrote:\n> Hi All,\n>\n> I've got an error I can't seem to resolve. Fsck reports both my\n> repositories are OK, but git fetch --tags tells me it can't find an\n> object.\n>\n> bash:jamesb:xl-cbga-20:32867> git --version\n> git version 1.7.6\n> bash:jamesb:xl-cbga-20:32864> git remote add old_tags ../old_tags/\n> bash:jamesb:xl-cbga-20:32865> git fetch old_tags\n> From ../old_tags\n> * [new branch]      master     -> old_tags/master\n> ...\n> bash:jamesb:xl-cbga-20:32866> git fetch --tags old_tags\n> remote: Counting objects: 33613, done.\n> remote: Compressing objects: 100% (11778/11778), done.\n> remote: Total 33529 (delta 18473), reused 30013 (delta 15779)\n> Receiving objects: 100% (33529/33529), 28.59 MiB | 8.06 MiB/s, done.\n> Resolving deltas: 100% (18473/18473), completed with 17 local objects.\n> error: unable to find eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f\n> fatal: object eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f not found\n>\n> git fsck --full shows no errors in old_tags.\n> git show eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f in old_tags seems to work:\n>\n> commit eb03ba0f40fb2b6a3287036d851d2506e4ea4f8f\n> Author: (no author) <(no author)@e3bda1c8-b8c7-484d-b8f9-8c0514bc73ff>\n> Date:   Tue Oct 10 09:44:47 2006 +0000\n>\n>    This commit was manufactured by cvs2svn to create tag 'releases/3_2_0-5'.\n>\n>    git-svn-id: svn://eng-cbga-2/tools/eclipse/tags/releases/3_2_0-5@39\n> e3bda1c8-b8c7-484d-b8f9-8c0514bc73ff\n>\n> diff --git a/org.eclipse.cdt/org.eclipse.cdt.doc.isv/reference/api/allclasses-frame.html\n> b/org.eclipse.cdt/org.eclipse.cdt.doc.isv/reference/api/\n> allclasses-frame.html\n> ...\n>\n>\n> Any ideas how to resolve this?\n>\n> Cheers,\n> James\n>\n"}]}