summaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2007-11-23 02:37:03 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-23 11:51:39 -0800
commit81bf96bb2ecb8c869cc365a7fee2c4d2e937a43c (patch)
tree8bbafe50fbc6ea5c6d91edd747a85d1d6d69c067 /object.h
parentcore.whitespace: add test for diff whitespace error highlighting (diff)
downloadtgif-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 'object.h')
0 files changed, 0 insertions, 0 deletions