Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: Sascha Silbe <sascha-pgp@silbe.org>
To: sup-devel <sup-devel@rubyforge.org>
Subject: [sup-devel] [PATCH] sup-sync: only show message id of deleted messages in verbose mode
Date: Tue, 18 Jan 2011 19:25:28 +0100	[thread overview]
Message-ID: <1295375128-2286-1-git-send-email-sascha-pgp@silbe.org> (raw)

We show message ids for added messages in verbose mode only, so we should do
the same for deleted messages.

Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
---
 bin/sup-sync |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/sup-sync b/bin/sup-sync
index 1d1fda1..b4d5cba 100755
--- a/bin/sup-sync
+++ b/bin/sup-sync
@@ -124,7 +124,7 @@ begin
       num_scanned += 1
       if action == :delete
         num_deleted += 1
-        puts "Deleting #{m.id}"
+        puts "Deleting #{m.id}" if opts[:verbose]
       elsif action == :add
         seen[m.id] = true
 
-- 
1.7.2.3

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


             reply	other threads:[~2011-01-18 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-18 18:25 Sascha Silbe [this message]
2011-01-19  3:40 ` Rich Lane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295375128-2286-1-git-send-email-sascha-pgp@silbe.org \
    --to=sascha-pgp@silbe.org \
    --cc=sascha-ml-reply-to-2011-1@silbe.org \
    --cc=sup-devel@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox