+
Skip to content

Conversation

nelsonni
Copy link
Member

Linked worktree branches that are deleted without using git worktree remove become "prunable" and can lead to ENOENT: no such file or directory errors when loading and build Repository object models in Synectic. To mitigate these errors, this PR updates buildRepo to automatically call worktreePrune prior to fetching existing branches.

This PR resolves #1004.

Changes:

This PR makes the following changes:

  • buildRepo automatically calls worktreePrune prior to fetching existing branches
  • Prevent horizontal scrollbars from appearing for all components that match the .card-front .list-component CSS selector

@nelsonni nelsonni added the bug Bug reports or bug fixes label Dec 16, 2022
@nelsonni nelsonni self-assigned this Dec 16, 2022
@nelsonni nelsonni merged commit be7830a into main Dec 16, 2022
@nelsonni nelsonni deleted the fix/prune-stale-worktrees branch December 16, 2022 19:53
@nelsonni nelsonni changed the title Prune stale linked worktrees in buildRepo to prevent ENOENT errors when loading branch root directories Prune stale linked worktrees in buildRepo to prevent ENOENT errors when loading root directories Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug reports or bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENOENT: no such file or directory, getRoot error thrown when branch is "prunable"

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载