git: ls(1): Restore the traditional behavior of -f implying -a.

Sascha Wildner swildner at
Thu Apr 3 00:22:04 PDT 2014

commit 5f97f1a29a9265f82315131d2e8a5b4d7674848c
Author: Sascha Wildner <saw at>
Date:   Thu Apr 3 09:21:04 2014 +0200

    ls(1): Restore the traditional behavior of -f implying -a.
    OpenBSD's commit msg:
    restore the traditional behavior of -f implying -a; apparently Keith Bostic
    forgot to restore it when the -f flag was put back on 2nd of September 1989,
    after being removed on 16th of August as a consequence of issues getting it
    working over NFS, so deviation from traditional UNIX behavior in all BSDs
    looks like an historical accident; as a side effect, this change accommodates
    behavior of this option to IEEE Std 1003.1-2008 (``POSIX.1'').
    joint work with jmc@ (who found the inaccuracy in our implementation),
    schwarze@ (who provided a detailed tracking of historical facts) and millert@
    ok millert@, schwarze@
    The same patch has been pushed to NetBSD and FreeBSD too.
    Submitted-by: Igor Sobrado
    Taken-from:   OpenBSD

Summary of changes:
 bin/ls/ls.1 | 4 +++-
 bin/ls/ls.c | 7 +++----
 2 files changed, 6 insertions(+), 5 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list