Re: Git, diffs, and patches

2021-01-23 Thread Bruce Momjian
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 learni

Git, diffs, and patches

2021-01-15 Thread Bruce Momjian
I learned a few things when working on the key management patch that I want to share here in case it helps anyone: * git diff effectively creates a squashed diff of all commits/changes * git format-patch wants to retain each commit (no squash) * git format-patch has information about file name