Re: Log messages beginning # and git rebase -i
- From
- Ed Avis <eda@waniasset.com>
- Date
- Jul 28, 2015, 09:51 UTC
- Message-ID
- <loom.20150728T115023-269@post.gmane.org>
- In-Reply-To
- <CAPig+cRT6=YCHz+phfE+84y27ey-6ScjPxP2cHiVqumJmR6mOw@mail.gmail.com>
Eric Sunshine <sunshine <at> sunshineco.com> writes:
Show 5 quoted lines
>>the editing for the >>combined log message treats lines beginning with # as comments. This means >>that if you are not careful the commit message can get lost on rebasing. >> >>I suggest that git rebase should add an extra space at the start
>'git rebase --interactive' respects the core.commentChar configuration >variable, which you can set to some value other than '#'.
I was thinking of the default configuration. But you are right, this applies to whatever the comment character is - so if commentChar is set to * for example, then log lines beginning with * should get an extra space prepended in git rebase --interactive so that they don't get lost.
-- Ed Avis <eda@waniasset.com>