Code

Merge branch 'maint'
[git.git] / builtin-fast-export.c
index ff759cc578ac28c8f321124b25ff7539882382b6..1dfc01e8f009968ef5d6118bffed7818e736576c 100755 (executable)
@@ -204,14 +204,10 @@ static void handle_commit(struct commit *commit, struct rev_info *rev)
                        continue;
                if (i == 0)
                        printf("from :%d\n", mark);
-               else if (i == 1)
-                       printf("merge :%d", mark);
                else
-                       printf(" :%d", mark);
+                       printf("merge :%d\n", mark);
                i++;
        }
-       if (i > 1)
-               printf("\n");
 
        log_tree_diff_flush(rev);
        rev->diffopt.output_format = saved_output_format;