summaryrefslogtreecommitdiff
path: root/coreutils/Config.in
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-06 08:11:08 +0000
committerBernhard Reutner-Fischer2006-04-06 08:11:08 +0000
commit8f7d38970046c0ea53de911084561b79ffb2d6b9 (patch)
treeb19ed436f9361694ce3d071f3a8ec5957042c8e4 /coreutils/Config.in
parente11a01cc34ab024b81ca83fec5182c6a444d4798 (diff)
downloadbusybox-8f7d38970046c0ea53de911084561b79ffb2d6b9.zip
busybox-8f7d38970046c0ea53de911084561b79ffb2d6b9.tar.gz
- new applet diff. Rob Sullivan writes:
Here's my attempt at a mini diff applet - it's adapted from the code at http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports unified diffs. I've busyboxified everything to a reasonable degree, so I think the code is suitable enough to be included, but there's still a fair bit of cleaning up to be done.
Diffstat (limited to 'coreutils/Config.in')
-rw-r--r--coreutils/Config.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in
index cd45cc0..62c5c32 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -109,6 +109,38 @@ config CONFIG_DF
df reports the amount of disk space used and available
on filesystems.
+config CONFIG_DIFF
+ bool "diff"
+ default n
+ help
+ diff compares two files or directories and outputs the
+ differences between them in a form that can be given to
+ the patch command.
+
+config CONFIG_FEATURE_DIFF_BINARY
+ bool " Enable checks for binary files"
+ default y
+ depends on CONFIG_DIFF
+ help
+ This option enables support for checking for binary files
+ before a comparison is carried out.
+
+config CONFIG_FEATURE_DIFF_DIR
+ bool " Enable directory support"
+ default y
+ depends on CONFIG_DIFF
+ help
+ This option enables support for directory and subdirectory
+ comparison.
+
+config CONFIG_FEATURE_DIFF_MINIMAL
+ bool " Enable -d option to find smaller sets of changes"
+ default n
+ depends on CONFIG_DIFF
+ help
+ Enabling this option allows the use of -d to make diff
+ try hard to find the smallest possible set of changes.
+
config CONFIG_DIRNAME
bool "dirname"
default n