diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-06-07 16:05:11 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-07 22:49:16 +0400 |
commit | 95cfe9588aaa4036913a6d10fd309ce3a3d23f3b (patch) | |
tree | 974139b9e3ab1ca6c7a068f60cf785e78129e88f /builtin/reflog.c | |
parent | a1a031d9356cc89cadc5e14acc4028e3ecc306eb (diff) |
reflog: remove i18n legos in pruning message
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/reflog.c')
-rw-r--r-- | builtin/reflog.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/builtin/reflog.c b/builtin/reflog.c index 062d7dad1b..b3c9e27bde 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; } |