Subject: [PATCH 2/6] reflog: remove i18n legos in pruning message

From: Nguyễn Thái Ngọc Duy <[email-masked]>
Date: Thu, 7 Jun 2012 19:05:11 +0700

Signed-off-by: Nguyễn Thái Ngọc Duy <[email-masked]>
---
 Jonathan's version

 builtin/reflog.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/builtin/reflog.c b/builtin/reflog.c
index 062d7da..b3c9e27 100644
--- a/builtin/reflog.c
+++ b/builtin/reflog.c
@@ -330,8 +330,10 @@ static int expire_reflog_ent(unsigned char *osha1, unsigned char *nsha1,
 		printf("keep %s", message);
 	return 0;
  prune:
-	if (!cb->newlog || cb->cmd->verbose)
-		printf("%sprune %s", cb->newlog ? "" : "would ", message);
+	if (!cb->newlog)
+		printf("would prune %s", message);
+	else if (cb->cmd->verbose)
+		printf("prune %s", message);
 	return 0;
 }
 
-- 
1.7.8