From mboxrd@z Thu Jan 1 00:00:00 1970 From: john at keeping.me.uk (John Keeping) Date: Thu, 31 Jul 2014 15:39:45 +0100 Subject: Displaying latest commit message instead of description on repository list In-Reply-To: <877g2tfvfj.fsf@columbia.edu> References: <877g2tfvfj.fsf@columbia.edu> Message-ID: <20140731143945.GM26927@serenity.lan> On Thu, Jul 31, 2014 at 10:35:12AM -0400, Nik Nyby wrote: > I have cgit set up with my list of a bunch of different projects, and > none of those repos have a very descriptive "description" file. I > thought it would be nice to display each repository's latest commit line > instead of "Unnamed repository; edit this file 'description' to name the > repository." in the Description column of this table. > > Does cgit have a mechanism to easily configure what I'm talking about, > or would this require new functionality? There is no functionality to do this in CGit, but there is nothing to stop you adding a Git post-update hook to write the latest commit into the description file whenever anyone pushes to the repository.