List for cgit developers and users
 help / color / mirror / Atom feed
* Sorting directories before files in tree view
@ 2017-07-21 15:43 ofi1aiy0
  2017-07-21 16:27 ` john
  0 siblings, 1 reply; 2+ messages in thread
From: ofi1aiy0 @ 2017-07-21 15:43 UTC (permalink / raw)


Is this possible?.

-- 
John



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Sorting directories before files in tree view
  2017-07-21 15:43 Sorting directories before files in tree view ofi1aiy0
@ 2017-07-21 16:27 ` john
  0 siblings, 0 replies; 2+ messages in thread
From: john @ 2017-07-21 16:27 UTC (permalink / raw)


On Fri, Jul 21, 2017 at 09:13:33PM +0530, John wrote:
> Is this possible?.

Not without significant changes to ui-tree.c.  Currently we output items
in the order they appear in the tree object being displayed (by
definition, this is lexicographically sorted).  Displaying them in a
different order would require saving all of the items in memory and then
sorting them before display.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-21 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 15:43 Sorting directories before files in tree view ofi1aiy0
2017-07-21 16:27 ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).