summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog21
-rw-r--r--doc/ChangeLog4
2 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e4e6f276..8902beae4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,26 @@
-2004-09-25 Paul Eggert <eggert@cs.ucla.edu>
+2004-09-26 Paul Eggert <eggert@cs.ucla.edu>
* Version 5.3.0.
+ Add support for ls --hide. Idea suggested by Bardur Arantsson.
+ * NEWS: Document this.
+ * src/ls.c (file_ignored): Renamed from file_interesting, with
+ inverted return value. Accept the file name, not a struct dirent *.
+ All uses changed. Avoid the expense of calling fnmatch if the
+ file is ignorable due to leading '.'.
+ (all_files, really_all_files): Removed; replaced by:
+ (ignore): New variable. All uses changed.
+ (IGNORE_DEFAULT, IGNORE_DOT_AND_DOTDOT, IGNORE_MINIMAL, HIDE_OPTION):
+ New constants.
+ (hide_patterns): New variable.
+ (long_options, decode_switches, file_ignored, usage):
+ Add support for --hide.
+ (patterns_match): New function.
+ (usage): Replace "hide" with "ignore" in explanation, to avoid
+ confusion.
+
+2004-09-25 Paul Eggert <eggert@cs.ucla.edu>
+
* src/ls.c (gobble_file, print_long_format): Don't assume that
human-readable output has a byte count equal to its column width;
this isn't always true in locales where the radix character is not
diff --git a/doc/ChangeLog b/doc/ChangeLog
index bbf937331..8ee852f83 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ * coreutils.texi (ls invocation): Document "ls --hide".
+
2004-09-24 Paul Eggert <eggert@cs.ucla.edu>
* coreutils.texi (chmod invocation): Warn about "chmod -w file".