From: Junio C Hamano <junkio@cox.net>
To: "Lars Hjemli" <hjemli@gmail.com>
Cc: "Jeff Garzik" <jeff@garzik.org>, "Jan Hudec" <bulb@ucw.cz>,
"Git Mailing List" <git@vger.kernel.org>
Subject: Re: Losing branches (whee, data loss)
Date: Wed, 16 May 2007 00:36:39 -0700 [thread overview]
Message-ID: <7vejlhfce0.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <8c5c35580705160010s506b6f53y4209c1b541c3112a@mail.gmail.com> (Lars Hjemli's message of "Wed, 16 May 2007 09:10:28 +0200")
"Lars Hjemli" <hjemli@gmail.com> writes:
> On 5/16/07, Jeff Garzik <jeff@garzik.org> wrote:
>> Jan Hudec wrote:
>> > And does the .git/logs/refs/heads/upstream-fixes still exist?
>>
>> Nope.
>>
>>
>> > If it does not, as last resort you'd have to git fsck --unreachable
>> > (this gives you all things that are not reachable from any ref), filter
>> > out only commit objects and than remember which one should have been on
>> > that branch after reading it's log, date and changes.
>>
>> Yeah, that will probably recover it. I wound up digging the emails out
>> of the trash bin, and applying them again.
>>
>
> That's bad.
>
> Just out of curiosity: do you get any output from 'git log RENAMED-REF'?
Another probably easier way to recover them would be 'git
lost-found'.
next prev parent reply other threads:[~2007-05-16 7:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-16 5:18 Losing branches (whee, data loss) Jeff Garzik
2007-05-16 5:48 ` Lars Hjemli
2007-05-16 5:54 ` Jeff Garzik
2007-05-16 6:14 ` Jan Hudec
2007-05-16 6:40 ` Jeff Garzik
2007-05-16 6:43 ` Junio C Hamano
2007-05-16 7:10 ` Lars Hjemli
2007-05-16 7:36 ` Junio C Hamano [this message]
2007-05-16 6:12 ` Junio C Hamano
2007-05-16 6:40 ` Jeff Garzik
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=7vejlhfce0.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=bulb@ucw.cz \
--cc=git@vger.kernel.org \
--cc=hjemli@gmail.com \
--cc=jeff@garzik.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 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).