Skip to content

Commit 6abf189

Browse files
committed
Merge branch 'maint-1.5.4' into maint
* maint-1.5.4: builtin-fast-export: Only output a single parent per line
2 parents 20bd3b0 + 5070b49 commit 6abf189

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

builtin-fast-export.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,10 @@ static void handle_commit(struct commit *commit, struct rev_info *rev)
204204
continue;
205205
if (i == 0)
206206
printf("from :%d\n", mark);
207-
else if (i == 1)
208-
printf("merge :%d", mark);
209207
else
210-
printf(" :%d", mark);
208+
printf("merge :%d\n", mark);
211209
i++;
212210
}
213-
if (i > 1)
214-
printf("\n");
215211

216212
log_tree_diff_flush(rev);
217213
rev->diffopt.output_format = saved_output_format;

0 commit comments

Comments
 (0)