summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Waugh <twaugh@redhat.com>2011-08-13 13:16:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-08-13 13:17:40 -0700
commit70febebfe5215674079dc1c65ad966f5e404d2a8 (patch)
tree12abac9fb168a50cdaa819f131a6504bda4fdba3 /doc
parente3001b775aa8a3e7e30651b0f59d401ac4fe419d (diff)
downloaddiffutils-70febebfe5215674079dc1c65ad966f5e404d2a8.tar.gz
diff: --ignore-file-name-case now applies at top level too
Derived from Tim Waugh's patch in: http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00034.html * NEWS, doc/diffutils.texi (diff Options): Document this. * src/diff.c (compare_files): Implement this, by using find_dir_file_pathname. * src/diff.h (find_dir_file_pathname): New decl. * src/dir.c: Include filenamecat.h. (find_dir_file_pathname): New function.
Diffstat (limited to 'doc')
-rw-r--r--doc/diffutils.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/diffutils.texi b/doc/diffutils.texi
index ee419a1..f29e9a1 100644
--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -3802,7 +3802,10 @@ Ignore changes that just insert or delete lines that match @var{regexp}.
@xref{Specified Lines}.
@item --ignore-file-name-case
-Ignore case when comparing file names during recursive comparison.
+Ignore case when comparing file names. For example, recursive
+comparison of @file{d} to @file{e} might compare the contents of
+@file{d/Init} and @file{e/inIt}. At the top level, @samp{diff d inIt}
+might compare the contents of @file{d/Init} and @file{inIt}.
@xref{Comparing Directories}.
@item -l