Skip to content

Conversation

@sherwinski
Copy link

Description

Adds support for viewing shallow-cloned repositories.

Currently, when opening a repository an error gets thrown:

Screenshot 2026-01-28 at 10 56 15 PM

It looks like the error is thrown when reaching a parent commit ID that doesn't exist due to missing the full history. In this approach, if a commit is not found then we will just skip over it.

Resolves #541

Skip missing commits/parents when walking history or looking up parents so shallow clones can open cleanly.
@lucasderraugh
Copy link
Collaborator

Thanks for the PR. I'm away from my computer for some time but will review when I return.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: support shallow clones

2 participants