This unsets the newest entries and the following loop deletes all remaining entries, so the directory ends up empty. Keep indices 0..$((keep - 1)) and delete only entries from $keep onward.
This unsets the newest entries and the following loop deletes all remaining entries, so the directory ends up empty. Keep indices `0..$((keep - 1))` and delete only entries from `$keep` onward.
<!-- agent-meta: {"model":"gpt-5.6"} -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Throwaway PR to check that the review session posts findings here rather than to rev. Will be closed without merging.
@@ -0,0 +7,4 @@dir=${2:-/tmp/pr-smoke}mapfile -t files < <(ls -1t "$dir")for i in $(seq 0 "$keep"); doThis unsets the newest entries and the following loop deletes all remaining entries, so the directory ends up empty. Keep indices
0..$((keep - 1))and delete only entries from$keeponward.Pull request closed