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>
This commit is contained in:
parent
a1a031d935
commit
95cfe9588a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user