I think "cgit" is a great piece of software, but I've made some changes to (in my opinion) improve some of the limitations of git itself, when used to access the FreeBSD repository..
Tree Timestamp and Commit-information Changes
- Filenames are at last listed with "last modified" date/time, along with the commit details of their latest commit.
- The date and commit message of directories is set to the date/info of the latest changed file within the directory sub-tree.
- In tree view, directories are listed with a "/" after the name to emphasise that they are directories. Additionally, the meaningless 'size' value is suppressed.
- Pointless display of mode/permissions has been removed.
- Mass, inconsequential commits (such as the recent remove of the "# FreeBSD" tag) are ignored when updating this metainfo, to keep it relevant. (NB: This doesn't work for renamed files (e.g. if a port changes name or category), and there are no current plans to fix that)
Other Changes
- In commit messages, commit, PR, fabricator, and CVE references, along with URL's are converted to HTML links.
- In commit messages within the ports repos, ports references are converted to HTML links to the tree-view of the ports main directory.
- On the tree-view of a port main directory, further information on the port is shown, including links to the ports WWW and freshports.org web pages.
- When manpages are displayed in tree-view, add an option to display the manpage properly rendered.
- Absolute dates shown, and not just the stupid "14 days ago" type of message.
- repo index page ordering tidy-up.
- Added the ability to filter log messages "before" or "after" a specific date.
- The addition of a "raw-log" section - analogous to "log", but showing results as plain text. This is quicker for browsing, and can also be used more conveniently to see updates from the command line (using fetch or curl etc.)
- In addition to the general repo access, also have separate sections for the most common branches, with branch-selection related clutter removed.
- On general repo index page, a clearer heading showing the currently selected branch.
- "Default tab" configuration option added, allowing the starting tab for a repo to be individually configured as an alternative to the default "summary" tab.
- Hovering over an authors name in "log view" or "refs view" pops up with the users email address.
- The page footer now also displays the time taken for the server to create the webpage.
- A quick link to the previous commit details is now displayed on the commit page.