services: cgit: Improve handling of extra-options.
authorChristopher Baines <mail@cbaines.net>
Wed, 25 Apr 2018 07:17:52 +0000 (08:17 +0100)
committerChristopher Baines <mail@cbaines.net>
Fri, 18 May 2018 16:24:39 +0000 (17:24 +0100)
commitc3343d62f682b33b1eefce74e9b08585faa8680c
tree1b3f5bf34389f8ec01c92a728dc836009598bdab
parent57c5aa7c7d7db150e3ee5766aa872746bf4db957
services: cgit: Improve handling of extra-options.

* gnu/services/cgit.scm (serialize-cgit-configuration): Add the extra options,
one per line, before the scan-path, as this makes it possible to use the
extra-options to affect the global behaviour for repositories.
(serialize-extra-options): New procedure.
gnu/services/cgit.scm