bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Increased verbosity when using "--newer"?


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] Increased verbosity when using "--newer"?
Date: Wed, 02 Mar 2005 12:12:38 +0200

Michael Frotscher <address@hidden> wrote:

> Nobody? This still prevents me from using an actual version of "tar" - is 
> that 
> a bug or a feature?

Sorry, I have missed your original posting somehow. Let's call it an
accidental feature :) Please apply the attached patch.

Regards,
Sergey

Index: src/create.c
===================================================================
RCS file: /cvsroot/tar/tar/src/create.c,v
retrieving revision 1.92
diff -p -u -r1.92 create.c
--- src/create.c        15 Feb 2005 15:24:35 -0000      1.92
+++ src/create.c        2 Mar 2005 10:09:21 -0000
@@ -1397,7 +1397,7 @@ dump_file0 (struct tar_stat_info *st, ch
       && OLDER_STAT_TIME (st->stat, m)
       && (!after_date_option || OLDER_STAT_TIME (st->stat, c)))
     {
-      if (!incremental_option)
+      if (!incremental_option && verbose_option)
        WARN ((0, 0, _("%s: file is unchanged; not dumped"),
               quotearg_colon (p)));
       return;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]