git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git clone error

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 2, 2007, 17:08 UTC
Message-ID
<Pine.LNX.4.64.0708021806510.14781@racer.site>
In-Reply-To
<C2D74FA8.2C06%denbuen@sandia.gov>
Hi,
On Thu, 2 Aug 2007, Denis Bueno wrote:
Show 21 quoted lines
> 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

Previous: Denis BuenoNext: Linus Torvalds
Message 11 of 13 in “Git clone error”
  1. Denis BuenoJul 31, 2007
  2. Junio C HamanoAug 1, 2007
  3. Linus TorvaldsAug 1, 2007
  4. Denis BuenoAug 1, 2007
  5. Linus TorvaldsAug 1, 2007
  6. Linus TorvaldsAug 1, 2007
  7. Johannes SchindelinAug 1, 2007
  8. Denis BuenoAug 1, 2007
  9. Johannes SchindelinAug 1, 2007
  10. Denis BuenoAug 2, 2007
  11. Johannes SchindelinAug 2, 2007
  12. Linus TorvaldsAug 2, 2007
  13. Steffen ProhaskaAug 1, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.