From 4a6ace10112dd859902ed70625edfcbbd9f62161 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Sun, 14 Jan 2007 22:20:47 +0000 Subject: reset sticky tags with -A; OK joris@. --- usr.bin/cvs/checkout.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usr.bin/cvs') diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c index 1ed6576f7b3..ba22ea370a5 100644 --- a/usr.bin/cvs/checkout.c +++ b/usr.bin/cvs/checkout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checkout.c,v 1.75 2007/01/14 18:44:55 joris Exp $ */ +/* $OpenBSD: checkout.c,v 1.76 2007/01/14 22:20:46 xsa Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -30,6 +30,7 @@ static void checkout_repository(const char *, const char *); extern int prune_dirs; extern int build_dirs; +extern int reset_stickies; struct cvs_cmd cvs_cmd_checkout = { CVS_OP_CHECKOUT, 0, "checkout", @@ -59,6 +60,9 @@ cvs_checkout(int argc, char **argv) while ((ch = getopt(argc, argv, cvs_cmd_checkout.cmd_opts)) != -1) { switch (ch) { + case 'A': + reset_stickies = 1; + break; case 'P': prune_dirs = 1; break; -- cgit v1.2.3