builtin-fast-export: Only output a single parent per line
[git.git] / builtin-fast-export.c
index 724cff35d37a42daa85edd41b97f0ef20d01f684..4bf5b58bfc22babdf382e9549d7f79dbdb4a3b56 100755 (executable)
@@ -205,14 +205,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;