Skip to content

Commit

Permalink
rebase -i: fix cases ignoring core.commentchar
Browse files Browse the repository at this point in the history
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 <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Eric Sunshine authored and Junio C Hamano committed Aug 18, 2013
1 parent a3bc3d0 commit 7bca7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-rebase--interactive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ skip_unnecessary_picks () {
;;
esac
;;
3,#*|3,)
3,"$comment_char"*|3,)
# copy comments
;;
*)
Expand Down

0 comments on commit 7bca7af

Please sign in to comment.