summaryrefslogtreecommitdiffstats
path: root/src/makepatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/makepatch.c')
-rw-r--r--src/makepatch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makepatch.c b/src/makepatch.c
index 6e350f5..278cd38 100644
--- a/src/makepatch.c
+++ b/src/makepatch.c
@@ -79,7 +79,8 @@ static int cb(DB *ddb, struct syrep_name *name, struct diff_entry *de, void *p)
if (!package_get_item(cb_info->c1->package, d, 0)) {
- fprintf(stderr, "Adding %s (%s) to patch.\n", name->path, d);
+ if (args.verbose_flag)
+ fprintf(stderr, "Adding %s (%s) to patch.\n", name->path, d);
if (package_add_file(cb_info->c1->package, d, path) < 0)
return -1;