All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Alex Coppens <alex@nativetouch.com>
Cc: git@vger.kernel.org
Subject: Re: Problem with rerere forget
Date: Thu, 14 May 2015 11:49:12 -0700	[thread overview]
Message-ID: <xmqq7fsbkn9z.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <CAPt1q6fMMz61aZEJB9b+K6+kHFwkm+bMYXoKBj78GNJU+dWioA@mail.gmail.com> (Alex Coppens's message of "Thu, 14 May 2015 14:05:55 -0400")

Alex Coppens <alex@nativetouch.com> writes:

> git rerere forget path_to_file/file.js
>
> fatal: BUG: attempt to commit unlocked object

That comes from commit_lock_file(); I think rerere.c:write_rr()
has a call to that function and I suspect that is the call that is
giving the above message.

Is there any other process that is mucking with your .git/index file
while you are running the command?

  parent reply	other threads:[~2015-05-14 18:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 18:05 Problem with rerere forget Alex Coppens
2015-05-14 18:21 ` Stefan Beller
2015-05-14 18:40   ` Alex Coppens
2015-05-14 18:57     ` Stefan Beller
2015-05-14 18:49 ` Junio C Hamano [this message]
2015-05-14 19:16   ` Jeff King
2015-05-14 19:19     ` Junio C Hamano
2015-05-14 19:20       ` [PATCH] rerere: exit silently on "forget" when rerere is disabled Jeff King
2015-05-14 19:33         ` Junio C Hamano
2015-05-14 20:22           ` Jeff King
2015-05-14 20:51             ` Alex Coppens
2015-05-14 20:56               ` Jeff King
2015-05-14 20:59                 ` Alex Coppens

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=xmqq7fsbkn9z.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox.com \
    --cc=alex@nativetouch.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.