[GH-ISSUE #10] Command failed: git diff-tree --no-commit-id #4

Closed
opened 2026-02-27 19:20:52 +03:00 by kerem · 3 comments
Owner

Originally created by @leek on GitHub (Nov 13, 2025).
Original GitHub issue: https://github.com/f/git-rewrite-commits/issues/10

Not sure what I'm doing wrong here...

▶ npx git-rewrite-commits --max-commits 10

🚀 Git Commit Message Rewriter with AI

Current branch: main

Found 10 commits to process

...

✅ Created backup branch: backup-main-1763047157411

📝 Generating new commit messages with AI...

✖ [10.0%] Error processing d7a53cbb: Command failed: git diff-tree --no-commit-id -p 4b825dc642cb6eb9a060e54bf8d69288fbee4904 d7a53cbb5a80d82211eae440a5b654cfcc14aca0
spawnSync /bin/sh ENOBUFS
Originally created by @leek on GitHub (Nov 13, 2025). Original GitHub issue: https://github.com/f/git-rewrite-commits/issues/10 Not sure what I'm doing wrong here... ``` ▶ npx git-rewrite-commits --max-commits 10 🚀 Git Commit Message Rewriter with AI Current branch: main Found 10 commits to process ... ✅ Created backup branch: backup-main-1763047157411 📝 Generating new commit messages with AI... ✖ [10.0%] Error processing d7a53cbb: Command failed: git diff-tree --no-commit-id -p 4b825dc642cb6eb9a060e54bf8d69288fbee4904 d7a53cbb5a80d82211eae440a5b654cfcc14aca0 spawnSync /bin/sh ENOBUFS ```
kerem closed this issue 2026-02-27 19:20:52 +03:00
Author
Owner

@f commented on GitHub (Nov 15, 2025):

Can you retry with the newest version?

<!-- gh-comment-id:3535395245 --> @f commented on GitHub (Nov 15, 2025): Can you retry with the newest version?
Author
Owner

@leek commented on GitHub (Nov 15, 2025):

@f No change unfortunately. Is there any further debugging info that I could give you to help?

<!-- gh-comment-id:3536434531 --> @leek commented on GitHub (Nov 15, 2025): @f No change unfortunately. Is there any further debugging info that I could give you to help?
Author
Owner

@f commented on GitHub (Nov 15, 2025):

Can you try with a pure blank git repository?

<!-- gh-comment-id:3536801760 --> @f commented on GitHub (Nov 15, 2025): Can you try with a pure blank git repository?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-rewrite-commits#4
No description provided.