diff options
author | Rob Landley <rob@landley.net> | 2008-01-05 18:08:17 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-01-05 18:08:17 -0600 |
commit | daa1d3cb547ba011aae449dfded417ac37329d03 (patch) | |
tree | d57b29ac011bbb93c858603af1a676112cd46bae /toys/Config.in | |
parent | a45173b3ef2536a45a1a283ae4e709affe405513 (diff) | |
download | toybox-daa1d3cb547ba011aae449dfded417ac37329d03.tar.gz |
A bit more documentation on Patch.
Diffstat (limited to 'toys/Config.in')
-rw-r--r-- | toys/Config.in | 7 |
1 files changed, 5 insertions, 2 deletions
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" |