From: john at keeping.me.uk (John Keeping)
Subject: Sorting directories before files in tree view
Date: Fri, 21 Jul 2017 17:27:25 +0100 [thread overview]
Message-ID: <20170721162108.GA1600@john.keeping.me.uk> (raw)
In-Reply-To: <20170721153918.4fttx2tjbr2tifqe@envy.local>
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.
prev parent reply other threads:[~2017-07-21 16:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-21 15:43 ofi1aiy0
2017-07-21 16:27 ` john [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170721162108.GA1600@john.keeping.me.uk \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).