Trouble in making an commit .

Kristof Provost kristof at
Thu Jun 18 03:54:37 EDT 2015

> On 17 Jun 2015, at 20:01, Santhosh Pai <santhosh.pai88 at> wrote:
> The issue remains the same , i'm unable to perform commit . Below is the o/p 
> bash-4.2$ git add drivers/staging/comedi/comedi_fops.c
> bash-4.2$ git commit -s -v
> usage: git diff-index [-m] [--cached] [<common diff options>] <tree-ish> [<path>...]
This is odd. You’re calling git commit, but you’re getting usage information for git diff-index.

How did you install git? Have you tried reinstalling? Do you have any odd symlinks/aliases/shell functions/ … related to git?


More information about the Kernelnewbies mailing list