GNU bug report logs -
#77186
[PATCH 00/13] Revamp the gitolite-service-type
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Sat, 22 Mar 2025 16:49:01 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
---
gnu/services/version-control.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/services/version-control.scm b/gnu/services/version-control.scm
index 9bd17334fe..b93cb9f590 100644
--- a/gnu/services/version-control.scm
+++ b/gnu/services/version-control.scm
@@ -311,7 +311,11 @@ (define-gexp-compiler (gitolite-rc-file-compiler
,(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
--
2.48.1
This bug report was last modified 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.