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

Display tags and branches in the revlog #1371

Merged
merged 3 commits into from
Oct 18, 2022

Conversation

alexmaco
Copy link
Contributor

@alexmaco alexmaco commented Oct 3, 2022

fixes #1252

It changes the following:

  • adds fg colors to the theme for tags and branches
  • displays local branches as labels on their respective commit heads

I followed the checklist:

  • I added unittests
  • I ran make check without errors
  • I tested the overall application
  • I added an appropriate item to the changelog

@alexmaco alexmaco changed the title Give tags a more distinctive appearance in the revlog Display tags and branches in the revlog Oct 7, 2022
@alexmaco
Copy link
Contributor Author

alexmaco commented Oct 7, 2022

@extrawurst This only displays local branches. Afaict asyncgit cannot report the upstream branch for a local branch, and that info would need to be added to struct LocalBranch, which would remember the name instead of a bool. Should we also do that change?

@extrawurst extrawurst merged commit 216fad3 into extrawurst:master Oct 18, 2022
@extrawurst
Copy link
Owner

Thank you

IndianBoy42 pushed a commit to IndianBoy42/gitui that referenced this pull request Jun 4, 2024
* give tags a more distinctive appearance in the revlog
* store branches on commitlist, and display branch labels on head commits
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.

Show tags and branch heads in the log view.
2 participants