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

git rebase --interactive problems

From
DRDave Rodgman <dav1dr@eml.cc>
Date
Sep 7, 2009, 12:31 UTC
Message-ID
<1252326716.7497.1333578429@webmail.messagingengine.com>

When I try to do even the simplest rebase --interactive, I get a cryptic error message:

$ git rebase -i HEAD~2 <do nothing in the editor that appears, just save>

I then get:

/usr/lib/git-core/git-rebase--interactive: 1: arithmetic expression: expecting primary: "-c ^[^#] 2+-c ^[^#] 0"

and all I can do is git rebase --abort
Am I doing something wrong, or is this a bug? I am using git 1.6.4.2
thanks
Dave
Next: Jeff Epler
Message 1 of 3 in “git rebase --interactive problems”
  1. Dave RodgmanSep 7, 2009
  2. Jeff EplerSep 7, 2009
  3. Carlo Marcelo Arenas BelonSep 7, 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.