jesseduffield.lazygit/pkg/integration/tests/commit
Stefan Haller 35d3659cce Use more widely-supported Unicode symbols for the commit graph
The commit graph used '⏣' (U+23E3 BENZENE RING WITH CIRCLE) for merge
commits and '◯' (U+25EF LARGE CIRCLE) for regular commits. Both have
very poor coverage in popular monospace fonts:

- '⏣' lives in the Misc Technical block and is essentially absent from
  every common monospace font (Source Code Pro, JetBrains Mono, Fira
  Code, Cascadia Code, Hack, Iosevka, Menlo, Consolas, Monaco, IBM
  Plex Mono, Ubuntu Mono, Noto Sans Mono, Inconsolata). It is always
  drawn from a system fallback font.
- '◯' is the late-addition LARGE CIRCLE codepoint. It is present in
  some fonts (Cascadia, Fira Code, Hack, Iosevka, Menlo, Noto Sans
  Mono) but missing from many others, including Source Code Pro and
  most Nerd Font derivatives based on it.

This is why the graph renders inconsistently across platforms even
when the same monospace font is configured: each OS picks a different
fallback font (Apple Symbols on macOS, Segoe UI Symbol on Windows,
Noto/DejaVu/Symbola on Linux), and the substituted glyphs differ in
shape, weight, and advance width. '◯' is also East Asian Ambiguous
width, so some terminals render it wider than one cell, exaggerating
the misalignment.

Replace the symbols with codepoints from the foundational 1991
Geometric Shapes block, which has far broader font coverage:

- Merge: '◎' U+25CE BULLSEYE -- concentric circles, the visually
  closest cousin to the previous benzene-ring glyph.
- Commit: '○' U+25CB WHITE CIRCLE -- the same hollow-circle silhouette
  as before, just a more universally available codepoint.

The new symbols are present in the font directly in significantly
more cases; and when fallback is still required, they are universally
well-drawn (unlike '⏣', which many fallback fonts also lack).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 13:06:29 +02:00
..
add_co_author.go
add_co_author_range.go
add_co_author_while_committing.go
amend.go
amend_when_there_are_conflicts_and_amend.go
amend_when_there_are_conflicts_and_cancel.go
amend_when_there_are_conflicts_and_continue.go
auto_wrap_message.go
checkout.go Switch to branches view when checking out a commit 2025-11-16 21:23:40 +01:00
checkout_file_from_commit.go
checkout_file_from_range_selection_of_commits.go
checkout_file_with_local_modifications.go Show an error when checking out a file would overwrite local modifications 2026-01-03 20:09:55 +01:00
commit.go
commit_multiline.go
commit_skip_hooks.go
commit_switch_to_editor.go
commit_switch_to_editor_skip_hooks.go
commit_wip_with_prefix.go
commit_with_fallthrough_prefix.go
commit_with_global_prefix.go
commit_with_non_matching_branch_name.go
commit_with_prefix.go
copy_author_to_clipboard.go
copy_message_body_to_clipboard.go
copy_tag_to_clipboard.go
create_amend_commit.go
create_fixup_commit_in_branch_stack.go Use more widely-supported Unicode symbols for the commit graph 2026-05-04 13:06:29 +02:00
create_tag.go
disable_copy_commit_message_body.go
discard_old_file_changes.go Make file sort order and case sensitivity configurable 2026-03-30 17:53:25 +02:00
discard_submodule_changes.go Say "discard" instead of "remove" when discard changes from a commit 2026-03-07 20:47:19 +11:00
do_not_show_branch_marker_for_head_commit.go
fail_hooks_then_commit_no_hooks.go
find_base_commit_for_fixup.go Fix order of fixup base commits shown in ctrl-f error message 2025-11-30 14:06:31 +01:00
find_base_commit_for_fixup_disregard_fixups_for_same_base_commit.go Ignore fixup commits for a found base commit when doing ctrl-f 2026-01-24 16:04:35 +01:00
find_base_commit_for_fixup_disregard_main_branch.go
find_base_commit_for_fixup_only_added_lines.go Make find_base_commit_for_fixup tests more specific 2025-11-30 14:06:31 +01:00
find_base_commit_for_fixup_warning_for_added_lines.go
highlight.go Use more widely-supported Unicode symbols for the commit graph 2026-05-04 13:06:29 +02:00
history.go
history_complex.go
new_branch.go
paste_commit_message.go
paste_commit_message_over_existing.go
preserve_commit_message.go
preserve_commit_message_whitespace.go Preserve whitespace when remembering a commit message 2026-04-21 18:51:17 +02:00
reset_author.go
reset_author_range.go
revert.go Fix the main view display after reverting a commit 2025-12-23 14:55:58 +01:00
revert_merge.go
revert_with_conflict_multiple_commits.go Use more widely-supported Unicode symbols for the commit graph 2026-05-04 13:06:29 +02:00
revert_with_conflict_single_commit.go Use more widely-supported Unicode symbols for the commit graph 2026-05-04 13:06:29 +02:00
reword.go
search.go Update search position (match x of y) when changing the selection in a list view 2026-01-04 18:51:45 +01:00
set_author.go
set_author_range.go
shared.go
stage_range_of_lines.go Enable hunk staging mode by default 2025-08-01 10:35:16 +02:00
staged.go
staged_without_hooks.go
unstaged.go