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

Re: [PATCH 1/2] diff_setup_done(): return void

From
Thomas Rast <trast@student.ethz.ch>
Date
Aug 3, 2012, 12:17 UTC
Message-ID
<87y5lw41ah.fsf@thomas.inf.ethz.ch>
In-Reply-To
<6668871a0573c4d82d914137e3c7ff31fa8ce1ef.1343995614.git.trast@student.ethz.ch>
Thomas Rast <trast@student.ethz.ch> writes:
Show 11 quoted lines
> diff --git a/line.c b/line.c
> index a008c2c..fe7ace7 100644
> --- a/line.c
> +++ b/line.c
> @@ -1177,6 +1177,9 @@ static int process_diff_filepair(struct rev_info *rev,
>  		return 0;
>  	if (rg->ranges.nr == 0)
>  		return 0;
> +	if (rg->ranges.nr == 1 &&
> +	    rg->ranges.ranges[0].start == rg->ranges.ranges[0].end)
> +		return 0;

This hunk is totally unrelated, sorry for accidentally including it. You can remove it before application, or I can resend.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Thomas Rast
Message 3 of 3 in “diff_setup_done(): return void”
  1. 1/2 diff_setup_done(): return voidThomas Rast, Aug 3, 2012
  2. 2/2 merge-recursive: eliminate flush_buffer() in favor of write_in_full()Thomas Rast, Aug 3, 2012
  3. Thomas RastAug 3, 2012

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.