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>
else:
print node_name(sub.name, sub)
else:
- if opt.all or not n.name.startswith('.'):
- if istty1:
- L.append(node_name(d, n))
- else:
- print node_name(d, n)
+ if istty1:
+ L.append(node_name(d, n))
+ else:
+ print node_name(d, n)
except vfs.NodeError, e:
log('error: %s\n' % e)
ret = 1