diff options
author | 2006-06-04 09:52:56 +0000 | |
---|---|---|
committer | 2006-06-04 09:52:56 +0000 | |
commit | 7938e528a387fb68c511404d67ad15977bb479ef (patch) | |
tree | 3175c20a29c20e9ab57032cbb1273dc3aa00b8fe /usr.bin/cvs/commit.c | |
parent | - ntpd no longer needs the NTP identifier as part of a timedelta sensor (diff) | |
download | wireguard-openbsd-7938e528a387fb68c511404d67ad15977bb479ef.tar.xz wireguard-openbsd-7938e528a387fb68c511404d67ad15977bb479ef.zip |
sprinkle -n voodoo over the add, commit and import commands.
Diffstat (limited to 'usr.bin/cvs/commit.c')
-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 4a4bb408428..b4b33f4ca34 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.68 2006/06/01 20:00:52 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.69 2006/06/04 09:52:56 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -159,6 +159,9 @@ cvs_commit_local(struct cvs_file *cf) cvs_log(LP_TRACE, "cvs_commit_local(%s)", cf->file_path); cvs_file_classify(cf, NULL, 0); + if (cvs_noexec == 1) + return; + if (cf->file_type != CVS_FILE) fatal("cvs_commit_local: '%s' is not a file", cf->file_path); |