diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-23 02:37:03 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-23 11:51:39 -0800 |
commit | 81bf96bb2ecb8c869cc365a7fee2c4d2e937a43c (patch) | |
tree | 8bbafe50fbc6ea5c6d91edd747a85d1d6d69c067 /t | |
parent | 49e703afda0e4e67050fcc8e05b175987c83391c (diff) | |
download | git-81bf96bb2ecb8c869cc365a7fee2c4d2e937a43c.tar.gz git-81bf96bb2ecb8c869cc365a7fee2c4d2e937a43c.tar.xz |
builtin-apply: rename "whitespace" variables and fix styles
The variables were somewhat misnamed.
* "What to do when whitespace errors are detected" is now called
"ws_error_action" (used to be called "new_whitespace");
* The constants to denote the possible actions are "nowarn_ws_error",
"warn_on_ws_error", "die_on_ws_error", and "correct_ws_error". The
last one used to be "strip_whitespace", but we correct whitespace
error in indent (SP followed by HT) and "strip" is not quite an
accurate name for it.
Other than the renaming of variables and constants, there is no
functional change in this patch. While we are at it, it also fixes
overly long lines and multi-line comment styles (which of course do
not affect the generated code at all).
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions