pickaxe: hoist empty needle check
[gitweb.git] / builtin / fetch.c
index 4494aed0c757085f5728afa82ebfa3a0fb66876d..f483352fe57c200415463078d834bd0712c22705 100644 (file)
@@ -547,8 +547,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)