diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-11-12 14:02:55 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-12 14:04:04 -0800 |
| commit | a675104c399d242dd3ff5a0823fcd770563cf60f (patch) | |
| tree | d4e1ffae50c2d596a5053fbb8b2bfada1c752a25 /Documentation | |
| parent | 3a4eb5ad2e9166255d5921196470710523f24ec4 (diff) | |
| download | git-a675104c399d242dd3ff5a0823fcd770563cf60f.tar.xz | |
whitespace: allocate a few more bits and define WS_INCOMPLETE_LINE
Reserve a few more bits in the diff flags word to be used for future
whitespace rules. Add WS_INCOMPLETE_LINE without implementing the
behaviour (yet).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/config/core.adoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/config/core.adoc b/Documentation/config/core.adoc index e2de270c86..682fb595fb 100644 --- a/Documentation/config/core.adoc +++ b/Documentation/config/core.adoc @@ -626,6 +626,8 @@ core.whitespace:: part of the line terminator, i.e. with it, `trailing-space` does not trigger if the character before such a carriage-return is not a whitespace (not enabled by default). +* `incomplete-line` treats the last line of a file that is missing the + newline at the end as an error (not enabled by default). * `tabwidth=<n>` tells how many character positions a tab occupies; this is relevant for `indent-with-non-tab` and when Git fixes `tab-in-indent` errors. The default tab width is 8. Allowed values are 1 to 63. |
