Fix newline handling to prevent mixed line endings#11
Conversation
- Add intelligent newline detection that preserves original file format - Create .gitattributes to enforce consistent line endings in git - Add --normalize-newlines option for explicit conversion to Unix style - Update file I/O to use binary mode to prevent platform-specific conversions - Add comprehensive tests for newline handling scenarios - Store newline style in extraction maps for consistency This prevents the issue where editing extracted files on Windows would introduce CRLF line endings that pollute git history when rebuilt. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @jmcpheron's task —— View job PR Review Complete ✅I've thoroughly reviewed this pull request for newline handling improvements. Here's my comprehensive feedback: Review Checklist:
Code Quality & Best Practices ⭐Excellent implementation with clean, well-structured code:
Potential Bugs/Issues
|
This prevents the issue where editing extracted files on Windows would introduce CRLF line endings that pollute git history when rebuilt.
🤖 Generated with Claude Code