Re: [PATCH v2 2/2] rebase -i: fix core.commentchar regression
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 18, 2013, 21:14 UTC
- Message-ID
- <7vr4dqn1ko.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1376845970-31204-3-git-send-email-sunshine@sunshineco.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
> Intended for 'next'.
Thanks.
Will queue on top of es/rebase-i-no-abbrev, but we have a chance to rebuild 'next' after 1.8.4 release, so we may want to squash this into the problematic commit when it happens.
Show 17 quoted lines
>
> git-rebase--interactive.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/git-rebase--interactive.sh b/git-rebase--interactive.sh
> index 3733312..f246810 100644
> --- a/git-rebase--interactive.sh
> +++ b/git-rebase--interactive.sh
> @@ -693,7 +693,7 @@ transform_todo_ids () {
> while read -r command rest
> do
> case "$command" in
> - '#'* | exec)
> + "$comment_char"* | exec)
> # Be careful for oddball commands like 'exec'
> # that do not have a SHA-1 at the beginning of $rest.
> ;;