Skip to content

cannot run sl anymore in a dotgit repo #1150

@bolinfest

Description

@bolinfest

Here is the error I am getting:

$ sl
reposetup failed in extension dirsync: When constructing alloc::boxed::Box<dyn commits_trait::DagCommits + core::marker::Send> from dyn storemodel::StoreInfo, "10-git-commits" reported error

Caused by:
    0: Resolve Git reference: ""
    1: [] is not a 40-byte hex string
abort: When constructing alloc::boxed::Box<dyn commits_trait::DagCommits + core::marker::Send> from dyn storemodel::StoreInfo, "10-git-commits" reported error

Caused by:
    0: Resolve Git reference: ""
    1: [] is not a 40-byte hex string

also:

$ sl doctor
checking internal storage
abort: repository /Users/mbolin/code/openai/.git not found!

but that path exists and is the .git folder in the root of my repo.

I also tried deleting /Users/mbolin/code/openai/.git/sl, but I still get the same error.

It is quite expensive to re-clone, so I was hoping to avoid resorting to that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions