You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rtk git log caps the output it prints, but the cap had no marker, so a truncated history read as complete. Both the RTK-injected format path and the user-format path now append the number of omitted commits or lines and how to raise the limit. The guard still keeps the filtered output shorter than the raw stream.
Tests: cargo test --lib test_filter_log_output_cap_lines and cargo test --lib test_user_format_log_lines_with_limit.
Fixes silent truncation in rtk git log output by appending a marker indicating how many commits or lines were omitted when the output is capped, for both the user-format and RTK-injected format code paths. Updates existing unit tests to assert the new marker text appears.
Friendly ping: this branch is rebased on the latest develop and the targeted tests pass locally. The full lib suite also passes except for the environment-specific test_all_git_pi_plugin_revisions_are_allowlisted check, which fails here because the WSL test isolation hides the repo's safe.directory setting.
The workflow is currently action_required because this is a fork PR. Could a maintainer approve the CI run and take a look when convenient? Happy to adjust the scope or tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2204.
rtk git logcaps the output it prints, but the cap had no marker, so a truncated history read as complete. Both the RTK-injected format path and the user-format path now append the number of omitted commits or lines and how to raise the limit. The guard still keeps the filtered output shorter than the raw stream.Tests:
cargo test --lib test_filter_log_output_cap_linesandcargo test --lib test_user_format_log_lines_with_limit.