{"thread":{"id":"15740","subject":"corrupted repository?","startedAt":"2008-10-01T21:29:38Z","lastAt":"2008-10-02T18:03:05Z","messageCount":3,"participants":["Francois Pepin","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"92099","messageId":"48E3EBC2.7090107@cs.mcgill.ca","threadId":"15740","inReplyTo":null,"subject":"corrupted repository?","fromName":"Francois Pepin","fromEmail":"fpepin@cs.mcgill.ca","sentAt":"2008-10-01T21:29:38Z","receivedAt":"2008-10-01T21:29:38Z","isPatch":false,"sender":{"key":"fpepin@cs.mcgill.ca","avatar":null},"body":"Hi,\n\nThe repository on my OS X machine (10.5.5) seems to have been suddenly \nbecome corrupted in a strange way.\n\nEverything seems to be working properly there (git fsck --full returns \nnormally with no output), but I cannot clone or pull from my other machines:\n\n(iduna is the name of the OS X machine)\n[francois@monch ~]$ git clone iduna:git iduna2\nInitialized empty Git repository in /bioinfo/home/francois/iduna2/.git/\nPassword:\nerror: git upload-pack: git-pack-objects died with error.\nfatal: git upload-pack: aborting due to possible repository corruption \non the remote side.\nremote: fatal: exec pack-objects failed.\nremote: aborting due to possible repository corruption on the remote side.\nfatal: early EOF\nfatal: index-pack failed\n\nI have the same issue from the same machine:\n[francois@Iduna ~]$ git clone localhost:git git2\nInitialized empty Git repository in /Users/francois/git2/.git/\nremote: fatal: exec pack-objects failed.\nerror: git upload-pack: git-pack-objects died with error.\nfatal: git upload-pack: aborting due to possible repository corruption \non the remote side.\nremote: aborting due to possible repository corruption on the remote side.\nfatal: early EOF\nfatal: index-pack failed\n\nBut not if I just do it locally:\n[francois@Iduna ~]$ git clone git git2\nInitialized empty Git repository in /Users/francois/git2/.git/\nChecking out files:   2% (140/5273)\n[I cancelled it at this point]\n\nI am running git 1.6.0.2 on the mac, and have only recently updated it \nso that might have a role to play.\n\nAny suggestion would be welcome to fix this issue, and I'll be more than \nhappy to provide whatever more information could useful.\n\nFrancois\n"},{"id":"92166","messageId":"20081002142952.GP21310@spearce.org","threadId":"15740","inReplyTo":"48E3EBC2.7090107@cs.mcgill.ca","subject":"Re: corrupted repository?","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-10-02T14:29:52Z","receivedAt":"2008-10-02T14:29:52Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Francois Pepin <fpepin@cs.mcgill.ca> wrote:\n> Everything seems to be working properly there (git fsck --full returns  \n> normally with no output), but I cannot clone or pull from my other \n> machines:\n...\n> [francois@Iduna ~]$ git clone localhost:git git2\n> Initialized empty Git repository in /Users/francois/git2/.git/\n> remote: fatal: exec pack-objects failed.\n\nYour git-upload-pack cannot find git-pack-objects.  It sounds like\nGit was incorrectly installed on your system.\n\n  which git-upload-pack ?\n  which git ?\n  are they in the same directory?\n  did you possibly move git after installing it?\n\n  git --exec-path?\n  does that exist?\n  does it have git-pack-objects inside it?\n\n> I am running git 1.6.0.2 on the mac, and have only recently updated it  \n> so that might have a role to play.\n\nI think it is the upgrade.  It sounds like its not installed correcly\nbecause the helpers in libexec/git-core cannot be found.\n\n-- \nShawn.\n"},{"id":"92187","messageId":"48E50CD9.9050907@cs.mcgill.ca","threadId":"15740","inReplyTo":"20081002142952.GP21310@spearce.org","subject":"Re: corrupted repository?","fromName":"Francois Pepin","fromEmail":"fpepin@cs.mcgill.ca","sentAt":"2008-10-02T18:03:05Z","receivedAt":"2008-10-02T18:03:05Z","isPatch":false,"sender":{"key":"fpepin@cs.mcgill.ca","avatar":null},"body":" > Your git-upload-pack cannot find git-pack-objects.  It sounds like\n > Git was incorrectly installed on your system.\n\nYou are correct. I had created some symlinks for the binaries because \nthe changes for the environment variable didn't see to work for me, \neither from the installer package or editing the \n~/.MacOSX/environment.plist. I had a link to git-upload-pack in /usr/bin \nbut none to git, thereby creating the issue.\n\nI'm a bit confused as to how it happened, but's all been fixed and I'm a \nhappy camper again.\n\nThanks for the help,\n\nFrancois\n"}]}