@@ -118,10 +118,10 @@ index bb56b23..fb47f63 100644
118
118
long xdl_mmfile_size(mmfile_t *mmf);
119
119
120
120
diff --git a/xdiffi.c b/xdiffi.c
121
- index 344c2df..ea36143 100644
121
+ index 4685ba6..7224739 100644
122
122
--- a/xdiffi.c
123
123
+++ b/xdiffi.c
124
- @@ -833 ,7 +833 ,7 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
124
+ @@ -834 ,7 +834 ,7 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
125
125
/* Shift the group backward as much as possible: */
126
126
while (!group_slide_up(xdf, &g))
127
127
if (group_previous(xdfo, &go))
@@ -130,7 +130,7 @@ index 344c2df..ea36143 100644
130
130
131
131
/*
132
132
* This is this highest that this group can be shifted.
133
- @@ -849 ,7 +849 ,7 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
133
+ @@ -850 ,7 +850 ,7 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
134
134
if (group_slide_down(xdf, &g))
135
135
break;
136
136
if (group_next(xdfo, &go))
@@ -139,7 +139,7 @@ index 344c2df..ea36143 100644
139
139
140
140
if (go.end > go.start)
141
141
end_matching_other = g.end;
142
- @@ -874 ,9 +874 ,9 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
142
+ @@ -875 ,9 +875 ,9 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
143
143
*/
144
144
while (go.end == go.start) {
145
145
if (group_slide_up(xdf, &g))
@@ -151,7 +151,7 @@ index 344c2df..ea36143 100644
151
151
}
152
152
} else if (flags & XDF_INDENT_HEURISTIC) {
153
153
/*
154
- @@ -917 ,9 +917 ,9 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
154
+ @@ -918 ,9 +918 ,9 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
155
155
156
156
while (g.end > best_shift) {
157
157
if (group_slide_up(xdf, &g))
@@ -163,7 +163,7 @@ index 344c2df..ea36143 100644
163
163
}
164
164
}
165
165
166
- @@ -928 ,11 +928 ,11 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
166
+ @@ -929 ,11 +929 ,11 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) {
167
167
if (group_next(xdf, &g))
168
168
break;
169
169
if (group_next(xdfo, &go))
@@ -177,7 +177,7 @@ index 344c2df..ea36143 100644
177
177
178
178
return 0;
179
179
}
180
- @@ -973 ,7 +973 ,7 @@ void xdl_free_script(xdchange_t *xscr) {
180
+ @@ -974 ,7 +974 ,7 @@ void xdl_free_script(xdchange_t *xscr) {
181
181
}
182
182
}
183
183
@@ -186,7 +186,7 @@ index 344c2df..ea36143 100644
186
186
xdemitconf_t const *xecfg)
187
187
{
188
188
xdchange_t *xch, *xche;
189
- @@ -1012 ,11 +1012 ,11 @@ static void xdl_mark_ignorable_lines(xdchange_t *xscr, xdfenv_t *xe, long flags)
189
+ @@ -1013 ,11 +1013 ,11 @@ static void xdl_mark_ignorable_lines(xdchange_t *xscr, xdfenv_t *xe, long flags)
190
190
}
191
191
192
192
static int record_matches_regex(xrecord_t *rec, xpparam_t const *xpp) {
@@ -201,15 +201,18 @@ index 344c2df..ea36143 100644
201
201
return 1;
202
202
203
203
diff --git a/xinclude.h b/xinclude.h
204
- index a4285ac..75db1d8 100644
204
+ index 7e56542..5163346 100644
205
205
--- a/xinclude.h
206
206
+++ b/xinclude.h
207
- @@ -23,7 +23,7 @@
207
+ @@ -23,9 +23,10 @@
208
208
#if !defined(XINCLUDE_H)
209
209
#define XINCLUDE_H
210
210
211
- - #include "git-compat-util.h"
212
211
+ #include "git-xdiff.h"
212
+ +
213
+ #define DISABLE_SIGN_COMPARE_WARNINGS
214
+
215
+ - #include "git-compat-util.h"
213
216
#include "xmacros.h"
214
217
#include "xdiff.h"
215
218
#include "xtypes.h"
0 commit comments