Open discentem opened 1 year ago
Hi @discentem, thanks for posting the issue.
For "closed" PRs, I assume you mean "closed" but not "merged" PRs.
Currently, the auto-hide logic only hides merged PRs. The reason why we don't auto-hide closed PRs is that a PR can be closed by maintainers of the upstream repo and the author of the PR may still want to see the PR commits in their smartlog.
If you want to hide closed PRs in smartlog, you need to use 'sl hide' to hide the closed commits for now.
We could use a config to allow users to enable auto-hide logic for closed PRs in the future.
This might be a problem specific to repos like facebook/sapling given PRs don't actually get merged and instead just imported. I'm not 100% sure 🤔