commit - 4a669b4d3071698d662027a6c80ea850be275084
commit + b077bccd438edd49ae00d5a8c7ab4beffae5a53e
blob - e0d39fea2dc4bc2bc3f44c7a12c733643e58951e
blob + 87c3a41fdf7c2a7070b2f62589f9f824d1576e95
--- lib/diff3.c
+++ lib/diff3.c
*/
int last[4];
int eflag;
- int oflag;
int debug;
char f1mark[PATH_MAX], f3mark[PATH_MAX]; /* markers for -E and -X */
if (d3s == NULL)
return got_error_from_errno("calloc");
d3s->eflag = 3; /* default -E for compatibility with former RCS */
- d3s->oflag = 1; /* default -E for compatibility with former RCS */
b1 = b2 = b3 = d1 = d2 = diffb = NULL;
dp13 = dp23 = path1 = path2 = path3 = NULL;
char block[BUFSIZ+1];
for (; n > 0; n--) {
- if (!d3s->oflag || !d3s->overlap[n])
+ if (!d3s->overlap[n])
prange(&d3s->de[n].old, d3s);
else
diff_output(d3s->diffbuf, "%da\n%s\n",
diff_output(d3s->diffbuf, "%s", block);
}
- if (!d3s->oflag || !d3s->overlap[n])
+ if (!d3s->overlap[n])
diff_output(d3s->diffbuf, ".\n");
else {
diff_output(d3s->diffbuf, "%s\n.\n", d3s->f3mark);