]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls: --color now highlights hard linked files, too
authorKamil Dudka <kdudka@redhat.com>
Mon, 27 Oct 2008 14:38:23 +0000 (15:38 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 28 Oct 2008 20:08:30 +0000 (21:08 +0100)
commit1e48b1fee5fa2ad2d1802771eafbfcddb38a24cb
treeb0b321cac1797bb61a9853cebd0209067d83d9cf
parent5dc070cc866477bc4899221ecceb1c294db99371
ls: --color now highlights hard linked files, too

* src/ls.c (print_color_indicator): Colorize hard linked files.
* src/dircolors.c: Add color for hard link.
* src/dircolors.hin: Add color for hard link.
* tests/ls/hardlink: Test for ls - colorize hard linked files.
* tests/Makefile.am (TESTS): Add ls/hardlink.
* NEWS: Mention the change.
NEWS
src/dircolors.c
src/dircolors.hin
src/ls.c
tests/Makefile.am
tests/ls/hardlink [new file with mode: 0755]