seachicken / gh-poi

✨ Safely clean up your local branches
https://dev.to/seachicken/safely-clean-up-your-local-branches-9i3
MIT License
642 stars 17 forks source link

Commands do not complete in repositories with long commit history #34

Closed seachicken closed 2 years ago

seachicken commented 2 years ago

Describe the bug I waited a few tens of seconds and it was still loading.

$ gh poi
⠏ Fetching pull requests...

Your Environment

seachicken commented 2 years ago

This may be due to the fact that git branch --all --contains <oid> slows down when there are significantly more git branch --all https://github.com/seachicken/gh-poi/blob/a2a845b80dfef7251b62fcb50589fd84e99049ed/conn/command.go#L61