Skip to content

Commit 5c28913

Browse files
committed
Update why unified diff is _sometimes_ better.
1 parent 9b28021 commit 5c28913

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

doc/FAQ_DEV

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
33

4-
Last updated: Tue Nov 22 10:17:51 EST 2005
4+
Last updated: Sat Dec 24 13:36:54 EST 2005
55

66
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
77

@@ -110,7 +110,8 @@ General Questions
110110

111111
Generate the patch in contextual diff format. If you are unfamiliar
112112
with this, you might find the script src/tools/makediff/difforig
113-
useful.
113+
useful. Unified diffs are only preferrable if the file changes are
114+
single-line changes and do not rely on the surrouding lines.
114115

115116
Ensure that your patch is generated against the most recent version of
116117
the code. If it is a patch adding new functionality, the most recent

doc/src/FAQ/FAQ_DEV.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<H1>Developer's Frequently Asked Questions (FAQ) for
1414
PostgreSQL</H1>
1515

16-
<P>Last updated: Tue Nov 22 10:17:51 EST 2005</P>
16+
<P>Last updated: Sat Dec 24 13:36:54 EST 2005</P>
1717

1818
<P>Current maintainer: Bruce Momjian (<A href=
1919
"mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</A>)<BR>
@@ -158,7 +158,9 @@ <H3 id="item1.5">1.5) I've developed a patch, what next?</H3>
158158

159159
<P>Generate the patch in contextual diff format. If you are
160160
unfamiliar with this, you might find the script
161-
<I>src/tools/makediff/difforig</I> useful.</P>
161+
<I>src/tools/makediff/difforig</I> useful. Unified diffs are
162+
only preferrable if the file changes are single-line changes and
163+
do not rely on the surrouding lines.</P>
162164

163165
<P>Ensure that your patch is generated against the most recent
164166
version of the code. If it is a patch adding new functionality, the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy