changeset 225:b4ec652305df

A bit more documentation on Patch.
author Rob Landley <rob@landley.net>
date Sat, 05 Jan 2008 18:08:17 -0600
parents 37eb3153403f
children 6aac63925eff
files toys/Config.in
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/toys/Config.in	Sat Jan 05 16:40:40 2008 -0600
+++ b/toys/Config.in	Sat Jan 05 18:08:17 2008 -0600
@@ -286,8 +286,11 @@
 	  -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"