* cgit sort branches @ 2016-01-17 3:56 mohun106 2016-01-17 10:36 ` john 2016-01-17 14:43 ` jason.donenfeld 0 siblings, 2 replies; 4+ messages in thread From: mohun106 @ 2016-01-17 3:56 UTC (permalink / raw) hi, 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? - Mohan ^ permalink raw reply [flat|nested] 4+ messages in thread
* cgit sort branches 2016-01-17 3:56 cgit sort branches mohun106 @ 2016-01-17 10:36 ` john 2016-01-17 14:43 ` jason.donenfeld 1 sibling, 0 replies; 4+ messages in thread From: john @ 2016-01-17 10:36 UTC (permalink / raw) 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? ^ permalink raw reply [flat|nested] 4+ messages in thread
* cgit sort branches 2016-01-17 3:56 cgit sort branches mohun106 2016-01-17 10:36 ` john @ 2016-01-17 14:43 ` jason.donenfeld 2016-01-17 20:07 ` mohun106 1 sibling, 1 reply; 4+ messages in thread From: jason.donenfeld @ 2016-01-17 14:43 UTC (permalink / raw) Make "scan-path" the last line. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20160117/f07f7ce7/attachment.html> ^ permalink raw reply [flat|nested] 4+ messages in thread
* cgit sort branches 2016-01-17 14:43 ` jason.donenfeld @ 2016-01-17 20:07 ` mohun106 0 siblings, 0 replies; 4+ messages in thread From: mohun106 @ 2016-01-17 20:07 UTC (permalink / raw) On Sun, Jan 17, 2016 at 6:43 AM, Jason A. Donenfeld <jason.donenfeld at gmail.com> wrote: > Make "scan-path" the last line. This made it work. Thanks. I think this order should be mentioned somewhere in cgitrc man page if not already doing. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-17 20:07 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-01-17 3:56 cgit sort branches mohun106 2016-01-17 10:36 ` john 2016-01-17 14:43 ` jason.donenfeld 2016-01-17 20:07 ` mohun106
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).