git/Documentation/config/diff-hunks.adoc

9 lines
453 B
Plaintext

diffHunks.write::
If true, diff-producing commands (`git diff`, `git log`,
`git show`, or `git diff-tree` with a `--stat`, `--numstat`, or
`--shortstat` format) write the hunks
they compute to the diff-hunks store, filling it as a side effect.
The `GIT_DIFF_HUNKS_WRITE` environment variable overrides this for
a single invocation. Reading the store is controlled separately by
`core.diffHunks`. See linkgit:git-diff-hunks[1]. Defaults to false.