Display of directories that contain only one subdirectory

Jamie Couture jamie.couture at gmail.com
Thu Jul 14 00:43:06 CEST 2016

Ugh, hit enter too fast:

So what I was initially wasting my time worrying about was an insane situation 
where there are many empty directories with only one file at the end of the 

mkdir -p why/would/anyone/do/this/what/possible/reason/would/justify/such/a/deep/structure/with/nothing/of/value/come/on
touch why/would/anyone/do/this/what/possible/reason/would/justify/such/a/deep/structure/with/nothing/of/value/come/on/hi.txt

Where we might end up with something that does not word wrap, but our css does 
take care of it: so moot point.  The other consideration I was worrying about 
was skipping all the in-between folders since there's nothing of value, 
display some ellipsis:

some / path / ... / end 

I'm not sure if there's much value in truncating that scenario.

More information about the CGit mailing list