What
Git commit attribution now properly handles git commit --amend operations by recalculating and replacing existing Claude trailers.
Details
- Detects when a commit command includes
--amend - Strips existing Claude attribution trailers before recalculating
- Properly replaces
Claude-Generated-By,Claude-Steers,Claude-Permission-Prompts,Claude-Escapes, andClaude-Planfields - Prevents duplicate or stale attribution data in amended commits
Evidence
v$7() at line 531681 (amend attribution handler, contains "--amend" detection and trailer replacement)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.