git: ls(1): Add -_ option to include nanotime in ls -l.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Tue Dec 26 04:01:03 PST 2017


commit 4c605ac6641b75868be475924b6f58238bcd58ef
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Dec 26 11:23:49 2017 +0200

    ls(1): Add -_ option to include nanotime in ls -l.
    
    Very useful when debugging Makefile races in rules with
    vfs.timestamp_precision=1 set.
    Yes, ls -l_ seems strage, but we are running out of letters and
    FreeBSD already has the "-," flag in their ls(1).

Summary of changes:
 bin/ls/ls.1    |  8 +++++++-
 bin/ls/ls.c    |  8 +++++++-
 bin/ls/ls.h    |  1 +
 bin/ls/print.c | 26 ++++++++++++++++++--------
 bin/ls/util.c  |  4 ++--
 5 files changed, 35 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4c605ac6641b75868be475924b6f58238bcd58ef


-- 
DragonFly BSD source repository



More information about the Commits mailing list