summaryrefslogtreecommitdiff
path: root/contrib/cvs/src/diff.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-12-02 03:13:37 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-12-02 03:13:37 +0000
commit6361f125fbebb7b3fba759b74fe02de24f44ebf6 (patch)
tree15f00bd8ebd718713d8c0a8707ebebfced99c550 /contrib/cvs/src/diff.c
parentb2b29aad0d0d63394479a7459a0f17936ce7c064 (diff)
Notes
Diffstat (limited to 'contrib/cvs/src/diff.c')
-rw-r--r--contrib/cvs/src/diff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/cvs/src/diff.c b/contrib/cvs/src/diff.c
index c3d0e83f9def..2efa1e3e74c5 100644
--- a/contrib/cvs/src/diff.c
+++ b/contrib/cvs/src/diff.c
@@ -390,6 +390,7 @@ diff (argc, argv)
option_with_arg ("-r", diff_rev2);
if (diff_date2)
client_senddate (diff_date2);
+ send_arg ("--");
/* Send the current files unless diffing two revs from the archive */
if (diff_rev2 == NULL && diff_date2 == NULL)
@@ -421,7 +422,7 @@ diff (argc, argv)
/* start the recursion processor */
err = start_recursion (diff_fileproc, diff_filesdoneproc, diff_dirproc,
diff_dirleaveproc, NULL, argc, argv, local,
- which, 0, 1, (char *) NULL, 1);
+ which, 0, LOCK_READ, (char *) NULL, 1);
/* clean up */
free (options);