Skip to content

add an option for persistent recent commits section #1687

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
laughingman-hass opened this issue Mar 15, 2025 · 0 comments · May be fixed by #1688
Open

add an option for persistent recent commits section #1687

laughingman-hass opened this issue Mar 15, 2025 · 0 comments · May be fixed by #1688

Comments

@laughingman-hass
Copy link

laughingman-hass commented Mar 15, 2025

Is your feature request related to a problem? Please describe.
Currently the recent section does not display once there are unmerged commits. This behavior is replicated from Magit, however the recent commit section still offers some value even when there are unmerged commits.

Ideally it would be great to have a config that allows from a persistent section. This can be disabled by default, so it doesn't change the default behavior.

Describe the solution you'd like
Add the option always = <boolean?> to the config.sections.recent table.

  • If this option is not set or set to false the recent section should only show when there is no unmerged commits (current behavior)
  • if this option is set to true the recent sections is always shown

I have a work branch of this change, PR incoming shortly.

Describe alternatives you've considered
N/A

Additional context
This options was briefly discussed in #1378

@laughingman-hass laughingman-hass linked a pull request Mar 15, 2025 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant