Skip to content

Commit 7bca7af

Browse files
sunshinecogitster
authored andcommitted
rebase -i: fix cases ignoring core.commentchar
180bad3 (rebase -i: respect core.commentchar, 2013-02-11) updated "rebase -i" to honor core.commentchar but missed one instance of hard-coded '#' comment character in skip_unnecessary_picks(). Signed-off-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a3bc3d0 commit 7bca7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-rebase--interactive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ skip_unnecessary_picks () {
661661
;;
662662
esac
663663
;;
664-
3,#*|3,)
664+
3,"$comment_char"*|3,)
665665
# copy comments
666666
;;
667667
*)

0 commit comments

Comments
 (0)