From 47964cbc7b1409edc4908f199912e25d17b63b55 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 18 Jan 2007 18:34:46 +0000 Subject: [PATCH] print + new files in verbose mode (Michael Kaminsky) --- src/cmd/vac/vac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index 709a60af..963a56a0 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -544,6 +544,9 @@ vacdata(DirSink *dsink, int fd, char *lname, VacFile *vf, Dir *dir) return; } + if(verbose) + fprint(2, "+ %s\n", lname); + /* look for an append only file */ if((dir->mode&DMAPPEND) != 0) if(vd.size < dir->length)