summaryrefslogtreecommitdiff
path: root/patch.man
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2009-04-05 20:23:36 +0200
committerAndreas Gruenbacher <agruen@suse.de>2009-04-05 20:24:04 +0200
commit802b26e78d0ab33440989d03d96c3be3f211c420 (patch)
treea27ae31054e5c2c6c6d9b5762cf3300c174db609 /patch.man
parent018b7b56c0baa515d924dbdbe8bb1a7d5a91307f (diff)
downloadpatch-802b26e78d0ab33440989d03d96c3be3f211c420.tar.gz
Revert (almost) to the original asymmetric hunk behavior and document that
Diffstat (limited to 'patch.man')
-rw-r--r--patch.man6
1 files changed, 6 insertions, 0 deletions
diff --git a/patch.man b/patch.man
index fc95e2b..1f71a4e 100644
--- a/patch.man
+++ b/patch.man
@@ -94,6 +94,12 @@ If that fails, and the maximum fuzz factor is set to 2 or more,
the first two and last two lines of context are ignored,
and another scan is made.
(The default maximum fuzz factor is 2.)
+.PP
+Hunks with less prefix context than suffix context (after applying fuzz)
+must apply at the start of the file if their first line number is\ 1. Hunks
+with more prefix context than suffix context (after applying fuzz) must apply
+at the end of the file.
+.PP
If
.B patch
cannot find a place to install that hunk of the patch, it puts the