Truncation of Filename Extensions in Git Diff Output

Resolved 💬 5 comments Opened May 5, 2025 by mattgodbolt Closed May 6, 2025

Bug Description
Claude drops the last letter in some output:

● Bash(cd /home/matthew/dev/ce/gh_contribs && git diff --cached --name-status)…
  ⎿  A	.claude/settings.local.jso
     M	.gitignor
     M	gh_contribs/commands/user_contribs.p

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 0.2.100
  • Feedback ID: 7e88d1fd-d05f-47cd-9cc0-e8db33f29ea9

Errors

[{"error":"ShellError: Shell command failed\n    at Object.call (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:880)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async bI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:15442)\n    at async gz1 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13808)\n    at async xI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13088)\n    at async v60 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13022)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12267)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12664)\n    at async Y4 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2057:1570)","timestamp":"2025-05-05T14:17:31.329Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:880)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async bI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:15442)\n    at async gz1 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13808)\n    at async xI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13088)\n    at async v60 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13022)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12267)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12664)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12664)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12664)","timestamp":"2025-05-05T14:22:58.794Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:880)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async bI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:15442)\n    at async gz1 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13808)\n    at async xI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13088)\n    at async v60 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13022)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12267)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12664)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12664)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:12664)","timestamp":"2025-05-05T14:23:14.272Z"},{"error":"ShellError: Shell command failed\n    at Object.call (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:1321:880)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async bI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:15442)\n    at async gz1 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13808)\n    at async xI8 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13088)\n    at async v60 (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code/cli.js:2007:13022)\n    at async rt (file:///opt/compiler-explorer-old/node/lib/node_modules/@anthropic-ai/claude-code

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗