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

Re: blame formatting bug

From
Thomas Rast <trast@student.ethz.ch>
Date
Dec 9, 2010, 13:55 UTC
Message-ID
<201012091455.50144.trast@student.ethz.ch>
In-Reply-To
<4D008F3A.7080205@gmx.com>
Vitali wrote:
Show 14 quoted lines
> df9c37ec jquery/jquery.js (John Resig 2006-07-09 20:49:40 +0000  578) 
> extend: function(obj,prop) {
> 		if ( !prop ) {
> 			prop = obj;
> 			obj = this;
> 		}
> 	
> 		for ( var i in prop )
> 			obj[i] = prop[i];
> 	
> 		return obj;
> 	}
> 
> Looks like bug.

My 'less' shows that these lines are "terminated" with CRs. Git's diff engine does not treat CRs as line endings, so neither does blame.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Vitali
Message 2 of 2 in “blame formatting bug”
  1. VitaliDec 9, 2010
  2. Thomas RastDec 9, 2010

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.