{"thread":{"id":"50363","subject":"What is “unable to open object pack directory: .git/objects/pack: Not a directory” error?","startedAt":"2019-01-30T18:36:19Z","lastAt":"2019-02-05T01:40:52Z","messageCount":2,"participants":["Alireza Alipour","brian m. carlson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"368146","messageId":"CAOYf8At-gCD-Ctm9RevPLSkrfo+B0fj8oXtC1uzxAcntPp9ggA@mail.gmail.com","threadId":"50363","inReplyTo":null,"subject":"What is “unable to open object pack directory: .git/objects/pack: Not a directory” error?","fromName":"Alireza Alipour","fromEmail":"alirezaalipour517@gmail.com","sentAt":"2019-01-30T18:36:05Z","receivedAt":"2019-01-30T18:36:19Z","isPatch":false,"sender":{"key":"alirezaalipour517@gmail.com","avatar":null},"body":"Hi everyone\n\nI have asked this question in Super User but I have not got answer. I\nhave described details in the my question__ link in available in\nbottom__ but for more information I add following info:\n\nI checked one of my past projects and I notice that\n\".git/objects/pack\" directory exist but there is not anything in it.\nNow I want to know that what is causes of this problem? And what is\nwork around for this problem? And also I want to know that can I\ncontinue to commit on my current project and push it on my GitHub\nrepository without any problems?\n\nMy question link on Super User: https://superuser.com/q/1398971/660238\n\n\nKind regards,\nAlireza Alipour\n"},{"id":"368502","messageId":"20190205014043.GA527887@genre.crustytoothpaste.net","threadId":"50363","inReplyTo":"CAOYf8At-gCD-Ctm9RevPLSkrfo+B0fj8oXtC1uzxAcntPp9ggA@mail.gmail.com","subject":"Re: What is “unable to open object pack directory: .git/objects/pack: Not a directory” error?","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2019-02-05T01:40:44Z","receivedAt":"2019-02-05T01:40:52Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Wed, Jan 30, 2019 at 10:06:05PM +0330, Alireza Alipour wrote:\n> Hi everyone\n> \n> I have asked this question in Super User but I have not got answer. I\n> have described details in the my question__ link in available in\n> bottom__ but for more information I add following info:\n> \n> I checked one of my past projects and I notice that\n> \".git/objects/pack\" directory exist but there is not anything in it.\n> Now I want to know that what is causes of this problem? And what is\n> work around for this problem? And also I want to know that can I\n> continue to commit on my current project and push it on my GitHub\n> repository without any problems?\n\nCan you tell us what `ls -lF .git/objects/pack` produces? It should be a\ndirectory, but it's not for some reason.\n\nIf it doesn't look like anything useful, you can remove the file or\nsymlink there if there is one, and run \"git init\", and things should be\nfixed.\n-- \nbrian m. carlson: Houston, Texas, US\nOpenPGP: https://keybase.io/bk2204\n"}]}