All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@imag.fr>
To: "David Forman" <dforman@dairyfoodusa.com>
Cc: <git@vger.kernel.org>
Subject: Re: Error during git gc
Date: Wed, 27 May 2009 16:00:19 +0200	[thread overview]
Message-ID: <vpqeiua8x3g.fsf@bauges.imag.fr> (raw)
In-Reply-To: <APEJLFBGDNOMCHGLHIHFEEKPDEAA.dforman@dairyfoodusa.com> (David Forman's message of "Wed\, 27 May 2009 08\:28\:29 -0500")

(please provide a Subject: line)

"David Forman" <dforman@dairyfoodusa.com> writes:

> I've encountered the following whenever I access Git and try to compress the
> database due to loose objects.
>
> error: cannot lock ref 'HEAD~'
> error: cannot lock ref 'refs/heads/collections~'
> error: cannot lock ref 'refs/heads/master~'

I'd say you've edited the files .git/HEAD, refs/heads/collections, ...
manually with a text editor that leaves ~ backup files. Unless you
_really_ have branches called collections~ and master~, you can move
these three files (in a temporary folder, or to trash if you're
confident enough).

-- 
Matthieu

  reply	other threads:[~2009-05-27 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27 13:28 (unknown), David Forman
2009-05-27 14:00 ` Matthieu Moy [this message]
     [not found] <APEJLFBGDNOMCHGLHIHFGELBDEAA.dforman@dairyfoodusa.com>
2009-05-27 15:03 ` Error during git gc Matthieu Moy

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

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

  git send-email \
    --in-reply-to=vpqeiua8x3g.fsf@bauges.imag.fr \
    --to=matthieu.moy@imag.fr \
    --cc=dforman@dairyfoodusa.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.