i18n: make warn_dangling_symref() automatically append \n
This helps remove \n from translatable strings 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:

committed by
Junio C Hamano

parent
9665627d8c
commit
18986d5377
@ -1260,8 +1260,8 @@ static int prune_remote(const char *remote, int dry_run)
|
||||
int result = 0, i;
|
||||
struct ref_states states;
|
||||
const char *dangling_msg = dry_run
|
||||
? " %s will become dangling!\n"
|
||||
: " %s has become dangling!\n";
|
||||
? " %s will become dangling!"
|
||||
: " %s has become dangling!";
|
||||
|
||||
memset(&states, 0, sizeof(states));
|
||||
get_remote_ref_states(remote, &states, GET_REF_STATES);
|
||||
|
Reference in New Issue
Block a user