git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: Alireza Alipour <alirezaalipour517@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: What is “unable to open object pack directory: .git/objects/pack: Not a directory” error?
Date: Tue, 5 Feb 2019 01:40:44 +0000	[thread overview]
Message-ID: <20190205014043.GA527887@genre.crustytoothpaste.net> (raw)
In-Reply-To: <CAOYf8At-gCD-Ctm9RevPLSkrfo+B0fj8oXtC1uzxAcntPp9ggA@mail.gmail.com>

[-- 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 --]

      reply	other threads:[~2019-02-05  1:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190205014043.GA527887@genre.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=alirezaalipour517@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).