git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-rebase -i not escaping # at the beginning of the line

From
Petr Baudis <pasky@ucw.cz>
Date
Jun 3, 2009, 10:47 UTC
Message-ID
<20090603104718.GA10035@machine.or.cz>
In-Reply-To
<ce2236de-8670-4213-8474-52365f0397bc@z14g2000yqa.googlegroups.com>
On Tue, Jun 02, 2009 at 12:28:41PM -0700, donnoman wrote:
Show 7 quoted lines
> Redmine automatically links those log messages to the ticket when we
> use this method.  It works well for git commit -m "#1234 story xyz"
> 
> However, when we use git rebase -i, all of the lines that include the
> # character get stripped out of the commit messages.
> 
> How can we escape these?
This definitely sounds like a bug, what git version are you using?
-- 
				Petr "Pasky" Baudis
The lyf so short, the craft so long to lerne. -- Chaucer
Next: Johannes Schindelin
Message 1 of 4 in “git-rebase -i not escaping # at the beginning of the line”
  1. Petr BaudisJun 3, 2009
  2. Johannes SchindelinJun 3, 2009
  3. Petr BaudisJun 3, 2009
  4. Alberto LealJun 3, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.