Download mods/diff/hooks/git/argv/diff-leading-args.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/argv/diff-leading-args.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/diff/hooks/git/argv/diff-leading-args.ts
-
curl -L -o diff-leading-args.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/argv/diff-leading-args.ts
621 Bytes
| /** | |
| * The leading argv of every `git diff` the plugin runs: the config the | |
| * engine's own diff panel pins, `core.quotePath=false`, and raw-blob flags. | |
| * | |
| * Root-relative paths whatever `diff.relative` says, non-ASCII paths as | |
| * their own bytes, no optional locks, no child `git status` in a dirty | |
| * submodule, and no external diff or textconv driver even on a stats pass. | |
| */ | |
| export const DIFF_LEADING_ARGS = [ | |
| '--no-optional-locks', | |
| '-c', | |
| 'diff.relative=false', | |
| '-c', | |
| 'core.quotePath=false', | |
| 'diff', | |
| '--no-ext-diff', | |
| '--no-textconv', | |
| '--ignore-submodules=dirty', | |
| '--submodule=short', | |
| ] as const | |