Thread (12 messages) flat view 12 messages, 4 authors, 2016-06-15

Re: Git clone error

From: Denis Bueno <hidden>
Date: 2016-06-15 22:43:25

On 08/01/2007 15:12, "Johannes Schindelin" [off-list ref]
wrote:
quoted
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>?

    scripts[30] > git rev-parse b28b949a1a3c8eb37ca6eefd024508fa8b253429 >>
.git/info/grafts

    scripts[31] > git fsck --full
    error: b28b949a1a3c8eb37ca6eefd024508fa8b253429: object corrupt or
missing
    missing blob b28b949a1a3c8eb37ca6eefd024508fa8b253429

If I try to clone the repo, I get the same error.

                      Denis
--
"Program testing can be used to show the presence of bugs, but never to show
their absence." -- Edsger Dijkstra
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help