git rebase --interactive problems
- From
- Dave 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