spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

diff: the shared diff arguments' doc says what --no-color pinsBrowse files
poteat authored on Sep 23, 2026 · Alice T'Poteat committed 29 days ago parent 4536209 · commit 32251d1aa7e2
1 changed file+3 -1compared with 4536209
Mmods/diff/hooks/git/argv/diff-leading-args.ts
@@ -4,7 +4,9 @@
44 *
55 * Root-relative paths whatever `diff.relative` says, non-ASCII paths as
66 * their own bytes, no optional locks, no child `git status` in a dirty
7- * submodule, and no external diff or textconv driver even on a stats pass.
7+ * submodule, no external diff or textconv driver even on a stats pass, and
8+ * no color escapes whatever `color.ui` or `color.diff` says, so a hunk
9+ * header parses where either is set to `always`.
810 */
911 export const DIFF_LEADING_ARGS = [
1012 '--no-optional-locks',