]> asedeno.scripts.mit.edu Git - git.git/blobdiff - cache.h
Merge branch 'mo/maint-crlf-doc' into maint
[git.git] / cache.h
diff --git a/cache.h b/cache.h
index e643a9943af142e88ccf10a9777e3be3ece857dd..b90f671f7c2e00f9bd083f884d4548be156b76b0 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -988,10 +988,12 @@ void shift_tree(const unsigned char *, const unsigned char *, unsigned char *, i
  * whitespace rules.
  * used by both diff and apply
  */
-#define WS_TRAILING_SPACE      01
+#define WS_BLANK_AT_EOL         01
 #define WS_SPACE_BEFORE_TAB    02
 #define WS_INDENT_WITH_NON_TAB 04
 #define WS_CR_AT_EOL           010
+#define WS_BLANK_AT_EOF        020
+#define WS_TRAILING_SPACE      (WS_BLANK_AT_EOL|WS_BLANK_AT_EOF)
 #define WS_DEFAULT_RULE (WS_TRAILING_SPACE|WS_SPACE_BEFORE_TAB)
 extern unsigned whitespace_rule_cfg;
 extern unsigned whitespace_rule(const char *);