From daa1d3cb547ba011aae449dfded417ac37329d03 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 5 Jan 2008 18:08:17 -0600 Subject: A bit more documentation on Patch. --- toys/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'toys/Config.in') diff --git a/toys/Config.in b/toys/Config.in index ee5f3b77..0539c1c4 100644 --- a/toys/Config.in +++ b/toys/Config.in @@ -286,8 +286,11 @@ config PATCH -R Reverse patch. -u Ignored (only handles "unified" diffs) - If a hunk fails to apply to a file, patch discards all changes to - that file and prints the failed hunk to stderr. + This version of patch only handles unified diffs, and only modifies + a file when all all hunks to that file apply. Patch prints failed + hunks to stderr, and exits with nonzero status if any hunks fail. + + A file compared against /dev/null is created/deleted as appropriate. config PWD bool "pwd" -- cgit v1.2.3