Re: Git, diffs, and patches - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Git, diffs, and patches
Date
Msg-id 20210123201612.GA16430@momjian.us
Whole thread Raw
In response to Git, diffs, and patches  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Fri, Jan 15, 2021 at 01:39:49PM -0500, Bruce Momjian wrote:
> I learned a few things when working on the key management patch that I
> want to share here in case it helps anyone:
...
> Maybe everyone else knew these things, but I didn't.  I can provide more
> details if desired.

One more learning is that git diff compares two source trees and outputs
a diff, while format-patch compares two trees with a common commit and
outputs a diff for each commit.  This is why format-patch can output
file name changes.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee




pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal - idea - enhancing plpgsql FOREACH for JSON, jsonb and hstore
Next
From: Tom Lane
Date:
Subject: Test coverage for contrib/auto_explain