kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: tobias@gambas-buch.de (Tobias Boege)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Question regarding patches
Date: Wed, 19 Dec 2012 12:01:52 +0100	[thread overview]
Message-ID: <20121219110152.GE524@aurora> (raw)
In-Reply-To: <1355912010.5392.19.camel@oc2826874472.ibm.com>

On Wed, 19 Dec 2012, Shraddha Kamat wrote:
> On Wed, 2012-12-19 at 13:58 +0400, Lijo Antony wrote:
> > On 12/19/2012 12:47 PM, Shraddha Kamat wrote:
> > > Sorry if this is not relevant to kernel. But since I am
> > > patching the kernel - Please consider this as a uber beginner
> > > question to ask on this mailing list - forgive me for that.
> > >
> > > Now my question is -
> > >
> > > What "@@ -321,7 +321,8 @@" mean in this snippet from the patch -
> > >
> > > diff --git a/exec.h b/exec.h
> > > index 722c620..6abb687 100644
> > > --- a/exec.h
> > > +++ b/exec.h
> > > @@ -321,7 +321,8 @@ static void acct_arg_size(struct linux_binprm *bprm,
> > > unsigned long pages);
> > >
> > 
> > http://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html
> > http://www.artima.com/weblogs/viewpost.jsp?thread=164293
> > 
> > -lijo
> > 
> But I don't see any mention of the "index" field here // 
> see line "index 722c620..6abb687 100644". What does this mean ?

See "man git-diff" (GENERATING PATCHES WITH -P) for the information.

Regards,
Tobi

  parent reply	other threads:[~2012-12-19 11:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19  8:47 Question regarding patches Shraddha Kamat
2012-12-19  9:26 ` Jeff Kirsher
2012-12-19  9:58 ` Lijo Antony
2012-12-19 10:13   ` Shraddha Kamat
2012-12-19 10:33     ` devendra.aaru
2012-12-19 10:33     ` Avinash Patil
2012-12-19 11:01     ` Tobias Boege [this message]
2012-12-19 17:01     ` Anand Arumugam

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=20121219110152.GE524@aurora \
    --to=tobias@gambas-buch.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).