From: Nguyễn Thái Ngọc Duy Date: Thu, 31 May 2012 13:04:38 GMT Subject: [PATCH 2/6] reflog: remove i18n legos in pruning message Message-ID: <1338469482-30936-3-git-send-email-pclouds@gmail.com> In-Reply-To: <1338469482-30936-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/reflog.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/builtin/reflog.c b/builtin/reflog.c index 062d7da..6cedcec 100644 --- a/builtin/reflog.c +++ b/builtin/reflog.c @@ -330,8 +330,12 @@ 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 || cb->cmd->verbose) { + if (cb->newlog) + printf("prune %s", message); + else + printf("would prune %s", message); + } return 0; } -- 1.7.10.2.549.g9354186