Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.

In response to


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group