diff options
author | 2008-06-10 04:01:41 +0000 | |
---|---|---|
committer | 2008-06-10 04:01:41 +0000 | |
commit | cb9f753d644f5ea73cd9cf2437e13afbeed43177 (patch) | |
tree | a6cbbfef85a3404003e0543a6dd294bed7d0c88b | |
parent | support CIDR address matching in sshd_config "Match address" blocks, with (diff) | |
download | wireguard-openbsd-cb9f753d644f5ea73cd9cf2437e13afbeed43177.tar.xz wireguard-openbsd-cb9f753d644f5ea73cd9cf2437e13afbeed43177.zip |
append "- Imported sources" for imports.
-rw-r--r-- | usr.bin/cvs/trigger.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/cvs/trigger.c b/usr.bin/cvs/trigger.c index a45e8ac7d86..4040e351869 100644 --- a/usr.bin/cvs/trigger.c +++ b/usr.bin/cvs/trigger.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trigger.c,v 1.7 2008/06/10 03:55:50 joris Exp $ */ +/* $OpenBSD: trigger.c,v 1.8 2008/06/10 04:01:41 joris Exp $ */ /* * Copyright (c) 2008 Tobias Stoeckmann <tobias@openbsd.org> * Copyright (c) 2008 Jonathan Armani <dbd@asystant.net> @@ -89,6 +89,14 @@ expand_args(BUF *buf, struct file_info_list *file_info, const char *repo, return (0); } + if (cvs_cmdop == CVS_OP_IMPORT) { + cvs_buf_append(buf, "- Imported sources", + strlen("- Imported sources")); + if (quote) + cvs_buf_putc(buf, '"'); + return (0); + } + for (;;) { for (p = format; *p != '\0';) { val = NULL; |