From 2ce4c8aaf0d6203ec4b881d046ca01918bd47e52 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sat, 27 May 2006 15:17:43 +0000 Subject: show which directory we are examining in our pre-commit checks. --- usr.bin/cvs/commit.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c index f8a2020b167..1e6c0eac2dd 100644 --- a/usr.bin/cvs/commit.c +++ b/usr.bin/cvs/commit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commit.c,v 1.58 2006/05/27 15:14:27 joris Exp $ */ +/* $OpenBSD: commit.c,v 1.59 2006/05/27 15:17:42 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -115,6 +115,12 @@ cvs_commit_check_conflicts(struct cvs_file *cf) */ cvs_file_classify(cf); + if (cf->file_type == CVS_DIR) { + if (verbosity > 1) + cvs_log(LP_NOTICE, "Examining %s", cf->file_path); + return; + } + if (cf->file_status == FILE_CONFLICT || cf->file_status == FILE_LOST || cf->file_status == FILE_UNLINK) -- cgit v1.2.3