summaryrefslogtreecommitdiffstats
path: root/contrib/cvs
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-01-21 15:20:29 +0000
committerache <ache@FreeBSD.org>1998-01-21 15:20:29 +0000
commit13e5834cba0c5d020ed7eafb7bed84c0f63c8e4d (patch)
tree35e4ed6f46264a9b0fd47e009a716ccf2491acf0 /contrib/cvs
parentcbe4653fb05c8c63a8101ae69a5e2c0d68f8450b (diff)
downloadFreeBSD-src-13e5834cba0c5d020ed7eafb7bed84c0f63c8e4d.zip
FreeBSD-src-13e5834cba0c5d020ed7eafb7bed84c0f63c8e4d.tar.gz
Back out my -L change, now "patch -I" usage supposed to get Index:
precedence
Diffstat (limited to 'contrib/cvs')
-rw-r--r--contrib/cvs/src/diff.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/contrib/cvs/src/diff.c b/contrib/cvs/src/diff.c
index 810c5f0..3fdf3e4 100644
--- a/contrib/cvs/src/diff.c
+++ b/contrib/cvs/src/diff.c
@@ -568,9 +568,7 @@ diff_fileproc (callerdat, finfo)
if (empty_file == DIFF_ADDED)
{
if (use_rev2 == NULL)
- run_setup ("%s %s -L%s -L%s %s %s", DIFF, opts,
- DEVNULL, finfo->fullname,
- DEVNULL, finfo->file);
+ run_setup ("%s %s %s %s", DIFF, opts, DEVNULL, finfo->file);
else
{
int retcode;
@@ -591,9 +589,7 @@ diff_fileproc (callerdat, finfo)
}
/* FIXME: what if retcode > 0? */
- run_setup ("%s %s -L%s -L%s %s %s", DIFF, opts,
- DEVNULL, finfo->fullname,
- DEVNULL, tmp);
+ run_setup ("%s %s %s %s", DIFF, opts, DEVNULL, tmp);
}
}
else
@@ -614,23 +610,21 @@ diff_fileproc (callerdat, finfo)
}
/* FIXME: what if retcode > 0? */
- run_setup ("%s %s -L%s %s %s", DIFF, opts,
- finfo->fullname, tmp, DEVNULL);
+ run_setup ("%s %s %s %s", DIFF, opts, tmp, DEVNULL);
}
}
else
{
if (use_rev2)
{
- run_setup ("%s%s -x,v/ %s %s -r%s -r%s -L%s", Rcsbin, RCS_DIFF,
+ run_setup ("%s%s -x,v/ %s %s -r%s -r%s", Rcsbin, RCS_DIFF,
opts, *options ? options : vers->options,
- use_rev1, use_rev2, finfo->fullname);
+ use_rev1, use_rev2);
}
else
{
- run_setup ("%s%s -x,v/ %s %s -r%s -L%s", Rcsbin, RCS_DIFF, opts,
- *options ? options : vers->options, use_rev1,
- finfo->fullname);
+ run_setup ("%s%s -x,v/ %s %s -r%s", Rcsbin, RCS_DIFF, opts,
+ *options ? options : vers->options, use_rev1);
}
run_arg (vers->srcfile->path);
}
OpenPOWER on IntegriCloud