i18n: make warn_dangling_symref() automatically append \n
[gitweb.git] / builtin / remote.c
index fec92bc66e41b82f929e37b1935d00d6558c34a0..1b034731b484af1df87df7290036e8494fa170af 100644 (file)
@@ -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);