summaryrefslogtreecommitdiff
path: root/git-rebase--interactive.sh
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-08-16 17:44:07 -0400
committerJunio C Hamano <gitster@pobox.com>2013-08-18 13:33:01 -0700
commit7bca7afeff6f17309545cd2c8431b7228d1151ab (patch)
tree5181e2ab198bd8f9350df12be9e580425ebb4794 /git-rebase--interactive.sh
parenta3bc3d070cacf07dbe11b4bfec57554c8bbf1957 (diff)
downloadgit-7bca7afeff6f17309545cd2c8431b7228d1151ab.tar.gz
rebase -i: fix cases ignoring core.commentchares/rebase-i-respect-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>
Diffstat (limited to 'git-rebase--interactive.sh')
-rw-r--r--git-rebase--interactive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
index 5822b2c592..1e3097ed24 100644
--- a/git-rebase--interactive.sh
+++ b/git-rebase--interactive.sh
@@ -661,7 +661,7 @@ skip_unnecessary_picks () {
;;
esac
;;
- 3,#*|3,)
+ 3,"$comment_char"*|3,)
# copy comments
;;
*)