i18n: make warn_dangling_symref() automatically append \n
[gitweb.git] / builtin / fetch.c
index 65f5f9b72f92ec64ac5ad1ad264f78199337aba6..a8c3e4ceb8011d78287c13c03f62970be27f025c 100644 (file)
@@ -537,8 +537,8 @@ static int prune_refs(struct refspec *refs, int ref_count, struct ref *ref_map)
        int result = 0;
        struct ref *ref, *stale_refs = get_stale_heads(refs, ref_count, ref_map);
        const char *dangling_msg = dry_run
-               ? _("   (%s will become dangling)\n")
-               : _("   (%s has become dangling)\n");
+               ? _("   (%s will become dangling)")
+               : _("   (%s has become dangling)");
 
        for (ref = stale_refs; ref; ref = ref->next) {
                if (!dry_run)