> On 18 Jun 2015, at 10:14, Sébastien Hinderer 
> <[email protected]> wrote:
> 
> Kristof Provost (2015/06/18 09:54 +0200):
>> 
>>> On 17 Jun 2015, at 20:01, Santhosh Pai <[email protected]> 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
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to