All of lore.kernel.org
 help / color / mirror / Atom feed
From: santhosh.pai88@yahoo.com (Santhosh Pai)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Trouble in making an commit .
Date: Thu, 18 Jun 2015 17:32:03 +0000 (UTC)	[thread overview]
Message-ID: <1612602494.1543530.1434648723113.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <33325AC3-7C80-46F1-A9F6-7AAF0C7F184F@sigsegv.be>

Hello All,
I had given the o/p of git status in the previous mail , its still the same .
1) Git commit o/p

bash-4.2$ git commitusage: git diff-index [-m] [--cached] [<common diff options>] <tree-ish> [<path>...]common diff options:? -z ? ? ? ? ? ?output diff-raw with lines terminated with NUL.? -p ? ? ? ? ? ?output patch format.? -u ? ? ? ? ? ?synonym for -p.? --patch-with-raw? ? ? ? ? ? ? ? output both a patch and the diff-raw format.? --stat ? ? ? ?show diffstat instead of patch.? --numstat ? ? show numeric diffstat instead of patch.? --patch-with-stat? ? ? ? ? ? ? ? output a patch and prepend its diffstat.? --name-only ? show only names of changed files.? --name-status show names and status of changed files.? --full-index ?show full object name on index lines.? --abbrev=<n> ?abbreviate object names in diff-tree header and diff-raw.? -R ? ? ? ? ? ?swap input file pairs.? -B ? ? ? ? ? ?detect complete rewrites.? -M ? ? ? ? ? ?detect renames.? -C ? ? ? ? ? ?detect copies.? --find-copies-harder? ? ? ? ? ? ? ? try unchanged files as candidate for copy detection.? -l<n> ? ? ? ? limit rename attempts up to <n> paths.? -O<file> ? ? ?reorder diffs according to the <file>.? -S<string> ? ?find filepair whose only one side contains the string.? --pickaxe-all? ? ? ? ? ? ? ? show all files diff when -S is used and hit is found.? -a ?--text ? ?treat all files as text.
bash-4.2$
2) And the output of the git status is below?


bash-4.2$ git status
# On branch first-patch# Changes to be committed:# ? (use "git reset HEAD <file>..." to unstage)## modified: ? drivers/staging/comedi/comedi_fops.c## Changes not staged for commit:# ? (use "git add <file>..." to update what will be committed)# ? (use "git checkout -- <file>..." to discard changes in working directory)## modified: ? drivers/net/ethernet/intel/e1000/e1000_main.c#

 



     On Thursday, June 18, 2015 1:48 PM, Kristof Provost <kristof@sigsegv.be> wrote:
   

 
> On 18 Jun 2015, at 10:14, S?bastien Hinderer <Sebastien.Hinderer@ens-lyon.org> wrote:
> 
> Kristof Provost (2015/06/18 09:54 +0200):
>> 
>>> On 17 Jun 2015, at 20:01, Santhosh Pai <santhosh.pai88@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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150618/69125074/attachment.html 

      reply	other threads:[~2015-06-18 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16 18:36 Trouble in making an commit Santhosh Pai
2015-06-16 18:53 ` Sébastien Hinderer
2015-06-17 18:01   ` Santhosh Pai
2015-06-17 18:22     ` Sébastien Hinderer
2015-06-18  4:50       ` Sudip Mukherjee
2015-06-18  7:54     ` Kristof Provost
2015-06-18  8:14       ` Sébastien Hinderer
2015-06-18  8:18         ` Kristof Provost
2015-06-18 17:32           ` Santhosh Pai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1612602494.1543530.1434648723113.JavaMail.yahoo@mail.yahoo.com \
    --to=santhosh.pai88@yahoo.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.