git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* What is “unable to open object pack directory: .git/objects/pack: Not a directory” error?
@ 2019-01-30 18:36 Alireza Alipour
  2019-02-05  1:40 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Alireza Alipour @ 2019-01-30 18:36 UTC (permalink / raw)
  To: git

Hi everyone

I have asked this question in Super User but I have not got answer. I
have described details in the my question__ link in available in
bottom__ but for more information I add following info:

I checked one of my past projects and I notice that
".git/objects/pack" directory exist but there is not anything in it.
Now I want to know that what is causes of this problem? And what is
work around for this problem? And also I want to know that can I
continue to commit on my current project and push it on my GitHub
repository without any problems?

My question link on Super User: https://superuser.com/q/1398971/660238


Kind regards,
Alireza Alipour

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What is “unable to open object pack directory: .git/objects/pack: Not a directory” error?
  2019-01-30 18:36 What is “unable to open object pack directory: .git/objects/pack: Not a directory” error? Alireza Alipour
@ 2019-02-05  1:40 ` brian m. carlson
  0 siblings, 0 replies; 2+ messages in thread
From: brian m. carlson @ 2019-02-05  1:40 UTC (permalink / raw)
  To: Alireza Alipour; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]

On Wed, Jan 30, 2019 at 10:06:05PM +0330, Alireza Alipour wrote:
> Hi everyone
> 
> I have asked this question in Super User but I have not got answer. I
> have described details in the my question__ link in available in
> bottom__ but for more information I add following info:
> 
> I checked one of my past projects and I notice that
> ".git/objects/pack" directory exist but there is not anything in it.
> Now I want to know that what is causes of this problem? And what is
> work around for this problem? And also I want to know that can I
> continue to commit on my current project and push it on my GitHub
> repository without any problems?

Can you tell us what `ls -lF .git/objects/pack` produces? It should be a
directory, but it's not for some reason.

If it doesn't look like anything useful, you can remove the file or
symlink there if there is one, and run "git init", and things should be
fixed.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 868 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-05  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30 18:36 What is “unable to open object pack directory: .git/objects/pack: Not a directory” error? Alireza Alipour
2019-02-05  1:40 ` brian m. carlson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).