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>
This commit is contained in:
Eric Sunshine 2013-08-16 17:44:07 -04:00 committed by Junio C Hamano
parent a3bc3d070c
commit 7bca7afeff

View File

@ -661,7 +661,7 @@ skip_unnecessary_picks () {
;;
esac
;;
3,#*|3,)
3,"$comment_char"*|3,)
# copy comments
;;
*)