Skip to content

fix(git-pilot): replace diffstat with file count in summary#6

Merged
moukrea merged 1 commit into
mainfrom
fix/trim-session-summary-diffstat
Feb 25, 2026
Merged

fix(git-pilot): replace diffstat with file count in summary#6
moukrea merged 1 commit into
mainfrom
fix/trim-session-summary-diffstat

Conversation

@moukrea
Copy link
Copy Markdown
Owner

@moukrea moukrea commented Feb 25, 2026

Summary

  • Replaces the verbose per-file git diff --stat output in the session-stop summary with a single "Files changed: N" line
  • Keeps the commit list intact (compact and useful)
  • Reduces token waste and improves visibility of Claude's actual answers at session end

Test plan

  • End a session with commits and verify the summary shows "Files changed: N" instead of the full diffstat
  • Verify commit list still appears correctly in the summary
  • Verify sessions with no changes still produce no summary

@moukrea moukrea merged commit ad684af into main Feb 25, 2026
1 check passed
@moukrea moukrea deleted the fix/trim-session-summary-diffstat branch February 25, 2026 22:19
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