From: Eugene Sajine <euguess@gmail.com>
To: Jeff King <peff@peff.net>, git@vger.kernel.org
Subject: Re: git gc error - cannot lock ref 'RENAMED-REF..1'
Date: Mon, 5 Apr 2010 09:42:30 -0400 [thread overview]
Message-ID: <l2m76c5b8581004050642n2ea328f6wdbfbe3991a1f5e50@mail.gmail.com> (raw)
In-Reply-To: <v2i76c5b8581004032052q950584e1y603319ec6f341542@mail.gmail.com>
>> If you look in the .git directory, is there a file named RENAMED-REF..1?
>> I have no idea how you would create such a ref, nor why it would fail to
>> lock (perhaps because of the funny name?), but removing it should
>> probably clear up your problem at least.
>>
>> The name "RENAMED-REF" is only used by git during ref renames, and those
>> only happen when renaming branches (via "git branch -m") or remotes (via
>> "git remote rename"). So presumably the source of the problem is related
>> to one of those operations.
>>
>> -Peff
>>
>
> Thanks Jeff,
>
> i will take a look if i will be able to find this ref. The problem
> though is that i don't remeber doing any renaming of branches or
> remote in this repo. Probably somebody did and pushed it to the
> mainline where i got it from by pull... I'll tyr to check this out.
>
> Thanks,
> Eugene
>
Well, I have removed the file "RENAMEDREF..1" and it didn't resolve
the problem. But then i made a "find -name REN*" and found another
instance in logs folder. Removing this actually resolved the problem
with gc. Still - i have no idea how this ref has appeared there as i
believe there was no renaming operations done as well as no manual
creation of such ref of course...
Thanks,
Eugene
prev parent reply other threads:[~2010-04-05 13:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-01 17:37 git gc error - cannot lock ref 'RENAMED-REF..1' Eugene Sajine
2010-04-02 2:08 ` Eugene Sajine
2010-04-03 3:38 ` Eugene Sajine
2010-04-03 4:22 ` Jeff King
2010-04-04 3:52 ` Eugene Sajine
2010-04-05 13:42 ` Eugene Sajine [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=l2m76c5b8581004050642n2ea328f6wdbfbe3991a1f5e50@mail.gmail.com \
--to=euguess@gmail.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/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 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 NNTP newsgroup(s).