Displaying latest commit message instead of description on repository list
john at keeping.me.uk
Thu Jul 31 16:39:45 CEST 2014
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.
More information about the CGit