Trouble in making an commit .

Kristof Provost kristof at sigsegv.be
Thu Jun 18 04:18:26 EDT 2015


> On 18 Jun 2015, at 10:14, Sébastien Hinderer <Sebastien.Hinderer at ens-lyon.org> wrote:
> 
> Kristof Provost (2015/06/18 09:54 +0200):
>> 
>>> On 17 Jun 2015, at 20:01, Santhosh Pai <santhosh.pai88 at yahoo.com> 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.
> 
> Isn't that because of the -v option which may require this call to show
> differences?
> 
This doesn’t suggest that that’s likely:
# git commit -v -s --bad-option
error: unknown option `bad-option’
usage: git commit [options] [--] <pathspec>…

That’s with git (git version 2.3.2 (Apple Git-55)). 

Regards,
Kristof


More information about the Kernelnewbies mailing list