From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Denis Bueno <denbuen@sandia.gov>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: Git clone error
Date: Thu, 2 Aug 2007 18:08:54 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0708021806510.14781@racer.site> (raw)
In-Reply-To: <C2D74FA8.2C06%denbuen@sandia.gov>
Hi,
On Thu, 2 Aug 2007, Denis Bueno wrote:
> On 08/01/2007 15:12, "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
> wrote:
> >> How difficult would it be to create a new git repo which is exactly the same
> >> minus the initial condor-uninstall.sh commit? That is, just to pretend the
> >> initial import of condor-uninstall.sh never existed, and use the second
> >> commit of the old repo the first commit of the new, and preserve the rest of
> >> the history of the entire repo?
> >
> > That would be even easier. Just graft "nothingness" as parent of the
> > second commit:
> >
> > $ git rev-parse <second-commit> >> .git/info/grafts
>
> I must be misunderstanding:
>
> scripts[] > git fsck --full
> error: b28b949a1a3c8eb37ca6eefd024508fa8b253429: object corrupt or
> missing
> missing blob b28b949a1a3c8eb37ca6eefd024508fa8b253429
>
> # b2... should fill in your <second-commit>?
Ah no. Linus diagnosed that this blob is your condor-uninstall script in
your initial commit. You should be able to get at it by calling "git log
--root" and taking the last commit. Just to make sure, "git show
<first-commit>:bla/condor-uninstall.sh" should fail miserably, mentioning
a corrupt blob.
The second commit I was referring to is the second last commit in the "git
log --root" output.
Hth,
Dscho
next prev parent reply other threads:[~2007-08-02 17:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 23:45 Git clone error Denis Bueno
2007-08-01 0:22 ` Junio C Hamano
2007-08-01 2:38 ` Linus Torvalds
2007-08-01 14:24 ` Denis Bueno
2007-08-01 16:19 ` Linus Torvalds
2007-08-01 16:36 ` Linus Torvalds
2007-08-01 17:17 ` Johannes Schindelin
2007-08-01 20:22 ` Denis Bueno
2007-08-01 21:12 ` Johannes Schindelin
2007-08-02 15:08 ` Denis Bueno
2007-08-02 17:08 ` Johannes Schindelin [this message]
2007-08-02 17:40 ` Linus Torvalds
2007-08-01 16:37 ` Steffen Prohaska
-- strict thread matches above, loose matches on Subject: below --
2008-04-05 17:20 git " Chuck Ritter
2008-04-05 20:09 ` Junio C Hamano
2008-08-28 12:57 Git " srinivasan.malligarjunan
2008-08-28 14:11 ` Andreas Ericsson
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=Pine.LNX.4.64.0708021806510.14781@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=denbuen@sandia.gov \
--cc=git@vger.kernel.org \
--cc=torvalds@linux-foundation.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).