From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Sun, 17 Jan 2016 10:36:55 +0000 Subject: cgit sort branches In-Reply-To: References: Message-ID: <20160117103655.GQ14056@serenity.lan> On Sat, Jan 16, 2016 at 07:56:25PM -0800, Radha Mohan wrote: > I set up cgit for my git server and am looking for a way to sort the > branches in each repo summary page according to its age (newest > first). > I used "branch-sort=age" but it doesn't seem to work. > Here is my cgitrc file contents. > > logo=/cgit/cgit.png > css=/cgit/cgit.css > robots=index, nofollow > scan-path=/repo/git > case-sensitive-sort=0 > enable-git-config=1 > root-title=Git repository > branch-sort=age > > > Any pointers on how to achieve sort? "branch-sort=age" should do it. I notice you have "enable-git-config=1" is there any chance you have some repo-specific configuration that is overriding branch-sort?