Skip to content

Failed to clone torvald/linux repository #46

Open

Description

@elhmn

Failed to clone linux repository

$ cargo run --features bevy/dynamic scan https://github.com/torvalds/linux
    Finished dev [optimized + debuginfo] target(s) in 0.25s
     Running `target/debug/wake scan 'https://github.com/torvalds/linux'`
`https://github.com/torvalds/linux` repository cloned successfully
Error: failed to extract repository data: failed to extract git objects: reference 'refs/heads/main' not found; class=Reference (4); code=NotFound (-3)

Activity

  1. moved this to Todo in waking-giton Jan 20, 2023
  2. elhmn commented on Feb 11, 2023

    @elhmn
    OwnerAuthor

    I think this bug occurred on my machine because the torvalds/linux repository on disk was partial and missed the reference to main we should find a way to cleanup repository when the program is interrupted maybe using signals. We should also make sure tho recover on that error and re-clone the repository.

  3. moved this from Todo to No status in waking-giton Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions