Skip to content

Fix TUI breaking when a checkout/sync fails #10

@Dids

Description

@Dids

Here's example output of what happens when it fails to checkout/sync a repo, it breaks the layout and messes up the progress bar:

 Syncing...


 ████████████████████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  68%

 ⡿  [80/118] Dids/ports: syncing
 ████████████████████████████████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░  80%
 Progress: 80 / 118 repositories
 ⣷  [94/118] Dids/SupportKit: syncing

 Progress: 94 / 118 repositories










────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Failed to clone Dids/ports: git clone failed: Cloning into 'C:\Users\didan\Downloads\githubby_1.0.9_windows_amd64\Dids\p
orts'...
error: invalid path 'japanese/prn/Makefile'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Metadata

Metadata

Assignees

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