Skip to content

Commit 32251d1

Browse files
committed
diff: the shared diff arguments' doc says what --no-color pins
1 parent 4536209 commit 32251d1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎mods/diff/hooks/git/argv/diff-leading-args.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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',

0 commit comments

Comments
 (0)