Skip to content

feat(git-tui): page the /git log instead of stopping at 200 commits - #1665

Merged
huichen merged 1 commit into
mainfrom
pr/huichen
Nov 21, 2026
Merged

huichen merged 1 commit into
mainfrom
pr/huichen

Conversation

@huichen

@huichen huichen commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

The TUI git panel no longer treats the 200th commit as the end of history: the /git log now pages deeper on demand, and its page keeps the lanes continuous with the rows above.

Commits

  • feat(git-tui): page the /git log instead of stopping at 200 commits

Verification

Local run at 5270a5225 with the pinned toolchain (rustc 1.99.1) and ulimit -n 8192, in the main checkout (already at that sha, clean):

  • cargo fmt --all -- --check -> clean
  • cargo check -p future-tui --all-targets -> Finished, no warnings
  • cargo clippy -p future-tui --all-targets -- -D warnings -> clean
  • cargo test -p future-tui --lib -> 1844 passed; 0 failed; 4 ignored
  • make check-docs -> docs and channel matrix OK

User-visible changes

  • TUI /git log: the last row is no longer the end of the log. Down, j and Space (and the page keys in the single-column layout) read the next page, and the list title shows older commits while more history remains. Before: history stopped at 200 commits with no way to go further. Revert: 5270a5225.
  • The page is laid out from the top of the history and cut afterwards, so lanes continue the rows above instead of restarting each line of work at the left column; a read asks one entry past the page and stops at the skip ceiling instead of repeating rows. Revert: 5270a5225.
  • Docs: docs/guide/tui.md and docs/guide/tui.zh-CN.md describe the paging keys.

Notes

None.

The log's last row is no longer the end of the log: down, j, space (and
the page keys in the single-column layout) read the next page off the
loop, and the list title says «↓ older commits» while there is more.

The page is laid out from the top of the history and cut afterwards, so
its lanes continue the rows above instead of starting every line of work
again at the left column. A read asks one entry past the page, which is
what says whether the history goes on, and stops at the skip ceiling
instead of answering the same rows forever.
@huichen
huichen enabled auto-merge (squash) November 21, 2026 04:18
@huichen
huichen merged commit 091b19e into main Nov 21, 2026
10 checks passed
@huichen
huichen deleted the pr/huichen branch November 21, 2026 04:32
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