mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
services: gitolite-rc-file-compiler: Set mode of the generated file.
Copied over from the official configuration file, this sets a correct major mode when you visit the generated file. * gnu/services/version-control.scm (gitolite-rc-file-compiler): Add local variables. Change-Id: I8a9d794a1e3c7049ae606165cf939d81b5dbdf6e Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
committed by
Maxim Cournoyer
parent
0110eeee0a
commit
70a91c25b8
@@ -311,7 +311,11 @@ access to exported repositories under @file{/srv/git}."
|
||||
,(if unsafe-pattern
|
||||
(string-append "$UNSAFE_PATT = qr(" unsafe-pattern ");")
|
||||
"")
|
||||
"1;\n"))))
|
||||
"1;\n"
|
||||
"# Local variables:\n"
|
||||
"# mode: perl\n"
|
||||
"# End:\n"
|
||||
"# vim: set syn=perl:\n"))))
|
||||
|
||||
(define-record-type* <gitolite-configuration>
|
||||
gitolite-configuration make-gitolite-configuration
|
||||
|
||||
Reference in New Issue
Block a user