Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
xdiff: remove XDL_PATCH_* macros
author
Junio C Hamano
<gitster@pobox.com>
Sun, 19 Feb 2012 22:32:25 +0000
(14:32 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 19 Feb 2012 22:32:25 +0000
(14:32 -0800)
These are not used anywhere in our codebase, and the bit assignment
definition is merely confusing.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xdiff.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
406da78
)
diff --git
a/xdiff/xdiff.h
b/xdiff/xdiff.h
index 00d36c3ac7a7642831d2ffc49647caf77a4d066c..70c8b87ff2ee920a3fdea96291ed0d11b8a12e8f 100644
(file)
--- a/
xdiff/xdiff.h
+++ b/
xdiff/xdiff.h
@@
-36,11
+36,6
@@
extern "C" {
#define XDF_HISTOGRAM_DIFF (1 << 6)
#define XDF_WHITESPACE_FLAGS (XDF_IGNORE_WHITESPACE | XDF_IGNORE_WHITESPACE_CHANGE | XDF_IGNORE_WHITESPACE_AT_EOL)
-#define XDL_PATCH_NORMAL '-'
-#define XDL_PATCH_REVERSE '+'
-#define XDL_PATCH_MODEMASK ((1 << 8) - 1)
-#define XDL_PATCH_IGNOREBSPACE (1 << 8)
-
#define XDL_EMIT_FUNCNAMES (1 << 0)
#define XDL_EMIT_COMMON (1 << 1)
#define XDL_EMIT_FUNCCONTEXT (1 << 2)