Skip to content

Papercut Fixes#5

Merged
amadeus merged 2 commits into
mainfrom
startup-performance
May 16, 2026
Merged

Papercut Fixes#5
amadeus merged 2 commits into
mainfrom
startup-performance

Conversation

@amadeus

@amadeus amadeus commented May 16, 2026

Copy link
Copy Markdown
Owner

This PR fixes 2 issues I've been having lately:

  • General slowness around gw switch
    • This was mostly the result of always forcing a network/fetch validation
    • I like to manually manage my git remote stuff, so removing that made switch nearly instant
  • Add tab completion support to gw switch and gw remove
    • Will only complete on existing worktrees, to ensure no branch noise collisions
    • Only tested in fish, but bash/zsh should work too

amadeus added 2 commits May 16, 2026 12:34
This is a big game changer to making the core commands just fast. I
often manage my own remote states so we shouldn't incur it manually. I
think the performance improvements will be worth the occaisional remote
collision
Only completes on valid worktress to avoid general branch noise

Definitely works in fish, hopefully works in bash and zsh
@amadeus amadeus changed the title Performance: remove remote fetching on most actions Papercut Fixes May 16, 2026
@amadeus amadeus marked this pull request as ready for review May 16, 2026 20:10
@amadeus amadeus merged commit 648b82e into main May 16, 2026
1 check passed
@amadeus amadeus deleted the startup-performance branch May 16, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant