diff
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
Change detection no longer runs your external diff tool or scans submodules, so it's faster.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.236.
In the changelogs
20Releases whose published page names diff.
-
v2.1.315
Git safety overrides can now also set
core.alternateRefsCommandClaude Code's git safety overrides now add
core.alternateRefsCommandin some cases, and the list is assembled differentlyfound in this entry's text
-
v2.1.314
Git diffs now refresh the file index first
Claude Code now passes
diff.autoRefreshIndex=trueto git when it compares files, alongsidecore.splitIndex=falsefound in this entry's text
-
v2.1.314
Git commands run by Claude Code now stop git diff from refreshing the index
Claude Code's git safety overrides now also set diff.autoRefreshIndex to false, so git diff no longer writes to the index
found in this entry's text
-
v2.1.283
Enter no longer opens details in the diff dialog
Pressing Enter in the diff dialog no longer opens a details view, and the diff:viewDetails keybinding action is gone
found in this entry's text
-
v2.1.283
Git diffs are no longer garbled by forced colour in your git settings
Claude Code now runs its git diffs with --no-color, so git settings that force colour cannot garble the output
found in this entry's text
-
v2.1.283
Message selector key bindings now use the shared select actions
The message selector no longer has its own key binding group, and old custom bindings for it are converted to the shared select actions
found in this entry's text
-
v2.1.283
Browser, Google Cloud project and diff pickers use a new list, and one diff shortcut is gone
Three pickers now share one list style, and the separate
diff:viewDetailskeybinding in the diff dialog has been removedfound in this entry's text
-
v2.1.283
Message selector keys now use shared select actions, and old names are migrated
The messageSelector: keybinding actions are replaced by select: actions, and old names in your custom bindings are rewritten to the new ones
found in this entry's text
-
v2.1.280
New lazy-loaded 'responsive-mode' bundle chunk
A new 'responsive-mode' code chunk is now lazy-loaded alongside the existing 'diff' chunk
found in this entry's text
-
v2.1.274
New built-in plugins 'diff' and 'claude-test' added, plugin loading made lazy/named
Claude Code adds two new built-in plugins, 'diff' and 'claude-test', and loads plugins lazily
named in this entry, found in this entry's text
-
v2.1.265
Code block renderer gains a 'diff' format with unified-diff parsing and validation
Code display component gains a validated 'diff' format alongside plain source, plus a wrap/truncate display option
found in this entry's text, named in this entry
-
v2.1.265
New unified-diff/patch text parser added
Claude Code adds an internal parser for unified-diff/patch text
found in this entry's text
-
v2.1.259
New deny-checked commands: grep/rg/diff/git/cp/mv and generic argument-path extraction
Path deny rules now extract file arguments from more flag shapes and apply to grep, rg, diff, git, cp and mv.
found in this entry's text
-
v2.1.242
A dirty submodule no longer makes a directory look changed
A modified submodule no longer makes your working tree look dirty for directory sync.
found in this entry's text
-
v2.1.238
Diffs are no longer truncated when run from a subdirectory
Diffs read from a subdirectory are no longer shortened by your git diff.relative setting.
found in this entry's text
-
v2.1.236
Change detection ignores custom diff drivers and submodules
Change detection no longer runs your external diff tool or scans submodules, so it's faster.
found in this entry's text
-
v2.1.19
Git Workflow Keybindings
found in this entry's text
-
v1.0.89
Expanded Bash Command Permission Tracking
found in this entry's text
-
v1.0.30
Enhanced Color System
found in this entry's text
-
v1.0.30
For Theme/Plugin Developers
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.