git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Hash name is SHA-1

From
Horst H. von Brand <vonbrand@inf.utfsm.cl>
Date
Jan 25, 2007, 18:56 UTC
Message-ID
<200701251856.l0PIu8pP032403@laptop13.inf.utfsm.cl>
In-Reply-To
<Pine.LNX.4.64.0701251209100.3011@xanadu.home>
Nicolas Pitre <nico@cam.org> wrote:
Show 21 quoted lines
> On Thu, 25 Jan 2007, Shawn O. Pearce wrote:
> > "Horst H. von Brand" <vonbrand@inf.utfsm.cl> wrote:
> > > index 3fefdac..814f78f 100644
> > > --- a/builtin-apply.c
> > > +++ b/builtin-apply.c
> > > @@ -1811,7 +1812,8 @@ static int apply_binary(struct buffer_desc *desc, struct patch *patch)
> > >  			     "without full index line", name);
> > >  
> > >  	if (patch->old_name) {
> > > -		/* See if the old one matches what the patch
> > > +		/* 
> > > +		 * See if the old one matches what the patch
> > >  		 * applies to.
> > >  		 */
> > >  		hash_sha1_file(desc->buffer, desc->size, blob_type, sha1);
> > 
> > However I cannot help but feel that this hunk is unrelated to the
> > theme of this extremely large patch.  I don't know how Junio feels,
> > but this late in the 1.5.0 series I'm a little leary of a 1600+
> > line patch which is changing so much code, even if its something
> > as trivial as the above hunk.
> Maybe the patch could be restricted to documentation fixes only for now?

That's what I tried to do. But just changing the documentation without changing (some) of the messages and so on just gets you worse inconsistency.

-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513
Previous: Nicolas PitreNext: Shawn O. Pearce
Message 5 of 11 in “Some cleanups”
  1. Horst H. von BrandJan 25, 2007
  2. Hash name is SHA-1Horst H. von Brand, Jan 25, 2007
  3. Shawn O. PearceJan 25, 2007
  4. Nicolas PitreJan 25, 2007
  5. Horst H. von BrandJan 25, 2007
  6. Shawn O. PearceJan 25, 2007
  7. Matthias LederhoferJan 25, 2007
  8. Junio C HamanoJan 25, 2007
  9. Andy ParkinsJan 26, 2007
  10. Junio C HamanoJan 26, 2007
  11. Jakub NarebskiJan 26, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.