[darcs-devel] [issue1194] Mark directories in 'show files' when listing files & directories

Ben Coburn bugs at darcs.net
Mon Nov 3 05:59:53 UTC 2008


New submission from Ben Coburn <btcoburn at silicodon.net>:

The 'darcs show files' command needs an option like '--mark-directories' which
adds a trailing '/' to directory names (or simply, a change in it's default
behavior).

As it stands now (darcs 2.1), the default behavior of 'show files' is to list
everything in the repository without distinguishing between files and
directories. This leaves one having to either test each path to see what it is,
or running 'darcs show files --no-files', post-processing the output, and then
combining it with 'darcs show files --no-directories'.

IMHO, the default behavior should be to add trailing slashes to directory
names... However if there is sufficiently strong reason not to do this, it would
be good to have an option like '--mark-directories'.

----------
messages: 6568
nosy: btcoburn, dagit, dmitry.kurochkin, jaredj, kowey, simon, thorkilnaur
priority: wishlist
status: unread
title: Mark directories in 'show files' when listing files & directories
topic: ProbablyEasy, UI

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1194>
__________________________________


More information about the darcs-devel mailing list