Skip to content

Commit d6465fb

Browse files
committed
Merge branch 'as/sequencer-customizable-comment-char'
Honor core.commentchar when preparing the list of commits to replay in "rebase -i". * as/sequencer-customizable-comment-char: sequencer: use configured comment character
2 parents b8d9307 + 02cfd14 commit d6465fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sequencer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4022,7 +4022,7 @@ static int make_script_with_merges(struct pretty_print_context *pp,
40224022
entry = oidmap_get(&state.commit2label, &commit->object.oid);
40234023

40244024
if (entry)
4025-
fprintf(out, "\n# Branch %s\n", entry->string);
4025+
fprintf(out, "\n%c Branch %s\n", comment_line_char, entry->string);
40264026
else
40274027
fprintf(out, "\n");
40284028

0 commit comments

Comments
 (0)