diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-01-18 15:26:53 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-01-18 15:26:53 +0000 |
commit | 836bc0a4c096fe519947f933469838dd10809ec3 (patch) | |
tree | b96d9203b1f51aa8ab1ef9134dd5cd3d5d9bfb3f | |
parent | 95cc527de50655b1a33c20291111a67d77411cee (diff) |
send -l Argument to server when appropriate.
-rw-r--r-- | usr.bin/cvs/commit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index fc96be6afd4..775f8f4244a 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.98 2007/01/14 23:10:56 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.99 2007/01/18 15:26:52 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -126,6 +126,9 @@ cvs_commit(int argc, char **argv) else cvs_file_run(1, &arg, &cr); + if (!(flags & CR_RECURSE_DIRS)) + cvs_client_send_request("Argument -l"); + cvs_client_send_request("Argument -m%s", logmsg); cvs_client_send_files(argv, argc); |