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
There's an annoying bug where Q chat shows diffs for files it modifies, but the last line of the diff always has (what i'm guessing is) a newline difference, so it clutters the context, and also I have to scroll up to actually see what the real change was.
Example:
73, 73: local role_name="$1"
74, 74:
75, 75: # Validate environment
76, 76: if ! validate_environment; then
77, 77: echo "Error: Invalid environment configuration" >&2
78, 78: return 1
79, 79: fi
80, 80:
81, 81: # Export role-specific variables
82, 82: export QDT_ROLE="$role_name"
83, 83: export QDT_ROLE_SCRIPT_DIR="$QDT_SCRIPT_DIR"
84, 84:
85, 85: return 0
86, 86: }
87, 87:
88, 88: # Main initialization
89, 89: if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
90, 90: echo "This script should be sourced, not executed directly" >&2
91, 91: exit 1
- 92 : fi
+ 92: fi
Activity
RyanKoech commentedon Mar 29, 2025
Hello @mschrage I'm interested in giving this a shot! Any advice, clues or leads? Thanks.
mschrage commentedon Apr 3, 2025
Hi @RyanKoech - I'd start off by trying to find a good repro case. (I have not observed this, but have seen other report it)
feat: Plan mode V2 — /plan, Shift+Tab, switch_to_execution (#923)
fix(fs_write): suppress spurious trailing-newline diff lines
fix(fs_write): suppress spurious trailing-newline diff lines