]> arthur.barton.de Git - bup.git/commit
ls: include hidden files when explicitly requested
authorGabriel Filion <lelutin@gmail.com>
Mon, 16 May 2011 04:27:22 +0000 (00:27 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 29 May 2011 22:59:14 +0000 (18:59 -0400)
commit437c63000eccce1682c88507c611d56b61a2f1fb
treed64890e70e9e87d1c2e2cd0e21e59c3dacfc868d
parente27654268c64a1db03c2b63d19a562f7bbf08a02
ls: include hidden files when explicitly requested

The current code of 'bup ls' insists on hiding a file from its listing
even if the file was explicitly requested as an argument. This is not
what users would expect. Remove the condition and always list files
(not directories) starting with a dot when they were given in the
argument list.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
cmd/ls-cmd.py