<div dir="ltr">On Wed, Dec 19, 2012 at 2:13 AM, Shraddha Kamat <span dir="ltr"><<a href="mailto:sh2008ka@gmail.com" target="_blank">sh2008ka@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Wed, 2012-12-19 at 13:58 +0400, Lijo Antony wrote:<br>
> On 12/19/2012 12:47 PM, Shraddha Kamat wrote:<br>
> > Sorry if this is not relevant to kernel. But since I am<br>
> > patching the kernel - Please consider this as a uber beginner<br>
> > question to ask on this mailing list - forgive me for that.<br>
> ><br>
> > Now my question is -<br>
> ><br>
> > What "@@ -321,7 +321,8 @@" mean in this snippet from the patch -<br>
> ><br>
> > diff --git a/exec.h b/exec.h<br>
> > index 722c620..6abb687 100644<br>
> > --- a/exec.h<br>
> > +++ b/exec.h<br>
> > @@ -321,7 +321,8 @@ static void acct_arg_size(struct linux_binprm *bprm,<br>
> > unsigned long pages);<br>
> ><br>
><br>
> <a href="http://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html" target="_blank">http://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html</a><br>
> <a href="http://www.artima.com/weblogs/viewpost.jsp?thread=164293" target="_blank">http://www.artima.com/weblogs/viewpost.jsp?thread=164293</a><br>
><br>
> -lijo<br>
><br>
</div>But I don't see any mention of the "index" field here //<br>
see line "index 722c620..6abb687 100644". What does this mean ?<br>
<div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div>'722c620' is the commit id in which <span style="color:rgb(80,0,80)">a/exec.h is part of and </span></div><div>'6abb687' is the commit id in which b/exec.h is part of. 'a' and 'b' are not folders. Its just a notation that diff uses for left and right side.</div>
<div><br></div><div style>to know more on git look here: <a href="http://git-scm.com/book">http://git-scm.com/book</a> </div><div style>and git diff in particular look at the man page or search for "git diff" and you get a lot of links that explains it...</div>
<div style><br></div></div></div></div>