From: Bryan Donlan <bdonlan@gmail.com>
To: John Dlugosz <JDlugosz@tradestation.com>
Cc: git@vger.kernel.org
Subject: Re: What's going on here? Bad repo, no error locally?
Date: Wed, 22 Apr 2009 00:21:20 -0400 [thread overview]
Message-ID: <3e8340490904212121q4bf2e25dsf5673bff764895c9@mail.gmail.com> (raw)
In-Reply-To: <450196A1AAAE4B42A00A8B27A59278E70ACE053E@EXCHANGE.trad.tradestation.com>
On Tue, Apr 21, 2009 at 8:18 PM, John Dlugosz <JDlugosz@tradestation.com> wrote:
> Developer B runs git fsck --full, gets no errors but one dangling blob.
> Does a push. No errors.
> Now, on the upstream repo, I run fsck, and find a bunch of danglings (as
> always) and a missing blob.
> Any fetch from that repo will fail, due to that missing blob.
>
> What's going on? How can I fix his local repository, other than blow it
> away and start over, and copy his current files over and rebuild the few
> commits of interest?
Extract the object on developer B's workstation:
git cat-file blob <object ID> > blob.dat
Copy it to upstream, then do:
git hash-object -w blob.dat
If all goes well, hash-object will give you back the blob's ID, and
the repository will fsck cleanly again.
next prev parent reply other threads:[~2009-04-22 4:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-22 0:18 What's going on here? Bad repo, no error locally? John Dlugosz
2009-04-22 4:21 ` Bryan Donlan [this message]
2009-04-22 4:37 ` John M. Dlugosz
2009-04-22 4:52 ` Bryan Donlan
2009-04-22 5:06 ` Junio C Hamano
2009-04-22 15:59 ` John Dlugosz
2009-04-22 16:30 ` Brandon Casey
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=3e8340490904212121q4bf2e25dsf5673bff764895c9@mail.gmail.com \
--to=bdonlan@gmail.com \
--cc=JDlugosz@tradestation.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 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).