Skip to content

Allows listing commits from a specific branch #3472

New issue

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

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

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fdev31
Copy link

@fdev31 fdev31 commented May 21, 2025

Description

While adding a "cherry-pick" command to neovim, I couldn't figure how to list commits from a specific branch and needed such change to allow that.

With this patch I could successfully implement the sequence:

  • pick a branch
  • pick a commit from that branch
  • cherry-pick that commit

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

  • tested on code requiring this new feature
  • tested "plain" (no arguments) git_commits too

Configuration:

  • Neovim version (nvim --version): v0.11.1
  • Operating system and version: Arch Linux

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

fdev31 added a commit to fdev31/kickstart.nvim that referenced this pull request May 21, 2025
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