Skip to content
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

Consider showing the branch name in the files panel? #542

Open
carlos-algms opened this issue Nov 27, 2024 · 0 comments
Open

Consider showing the branch name in the files panel? #542

carlos-algms opened this issue Nov 27, 2024 · 0 comments

Comments

@carlos-algms
Copy link

Currently it's impossible to figure the branch name when:

  1. in a nil file like it was deleted, right side of a diff
  2. in the left side when it was newly created as it's nil
  3. or in the files pane DiffviewFiles

because they are not a file on disk, so we can't to find a git root.

Plugins like lua-line also can't find the git root, so the branch name disapear.

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

No branches or pull requests

1 participant