diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-06-07 19:05:11 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-07 11:49:16 -0700 |
commit | 95cfe9588aaa4036913a6d10fd309ce3a3d23f3b (patch) | |
tree | 974139b9e3ab1ca6c7a068f60cf785e78129e88f /builtin | |
parent | Git 1.7.11-rc2 (diff) | |
download | tgif-95cfe9588aaa4036913a6d10fd309ce3a3d23f3b.tar.xz |
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')
-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; } |