Re: git diff --patience

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: git diff --patience
Date: 2010-09-30 20:38:11
Message-ID: 4CA4AEE302000025000361DA@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com> wrote:

> The with-patience version has only two hunks, removal of a big
> block of comment and addition of a big block of code.
>
> The without-patience patience is riddled with the mix of two
> hunks, spread until line 120.
>
> --patience is a clear winner here.

When I read the description of the algorithm, I can't imagine a
situation where --patience would make the diff *worse*. I was
somewhat afraid (based on the name) that it would be slow; but
if it is slower, it hasn't been by enough for me to notice it.

-Kevin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-09-30 20:49:47 Re: Postgres vs. intel ccNUMA on Linux
Previous Message Robert Haas 2010-09-30 20:33:09 Re: Patch to reindex primary keys