Subject: git rebase --interactive problems

From: "Dave Rodgman" <[email-masked]>
Date: Mon, 07 Sep 2009 13:31:56 +0100

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