Файли
openidea/crates/ide-vcs
audichuang d592e5e154 fix(vcs): tell a tag from a branch of the same name in the Git Log filter (#8277)
With a tag and a local branch both named release, picking either in the Git Log Branches pane filtered by release, which git resolves to the tag, and the pane highlighted the branch row for both. The filter now takes git's own unambiguous name for the picked ref among the repository's refs (git rev-parse --abbrev-ref=strict): tags/release and heads/release, the full ref when another ref takes those, the plain name otherwise. The pane maps a filter back to the row of the ref git resolves it to; a plain name that is both selects the branch. Renaming a branch also renames a heads/ or refs/heads/ filter.

Co-authored-by: audichuang <[email protected]>
2026-12-06 04:42:59 +08:00
..