rebase -i: fix cases ignoring core.commentchar
180bad3d (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 <sunshine@sunshineco.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Eric Sunshine committed
Aug 16, 2013 at 17:44 UTC
7bca7afeff6f17309545cd2c8431b7228d1151ab
1 file changed
+1
-1
git-rebase--interactive.sh
+1
-1
@@ -661,7 +661,7 @@ skip_unnecessary_picks () {
661
;;
662
esac
663
;;
664
- 3,#*|3,)
664
+ 3,"$comment_char"*|3,)
665
# copy comments
666
;;
667
*)