aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-06-09 20:22:56 +0100
committerArun Isaac2024-06-09 20:22:56 +0100
commitef8ae8df2b84a01e1751bfd47696dd14bdd8af9e (patch)
tree3160980e61c37ac4a0583c82c22e3631c746bb6f
parent63e8da5660f75291528cdf0e8884021a98ae552c (diff)
downloadguix-forge-ef8ae8df2b84a01e1751bfd47696dd14bdd8af9e.tar.gz
guix-forge-ef8ae8df2b84a01e1751bfd47696dd14bdd8af9e.tar.lz
guix-forge-ef8ae8df2b84a01e1751bfd47696dd14bdd8af9e.zip
cgit: Use git-without-safe-directory-check by default.
* guix/forge/cgit.scm: Import git-without-safe-directory-check from (forge git). (<cgit-configuration>)[git]: Set default value to git-without-directory-check.
-rw-r--r--guix/forge/cgit.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/forge/cgit.scm b/guix/forge/cgit.scm
index 805f47f..0f3aaf2 100644
--- a/guix/forge/cgit.scm
+++ b/guix/forge/cgit.scm
@@ -1,5 +1,5 @@
;;; guix-forge --- Guix software forge meta-service
-;;; Copyright © 2023 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2023, 2024 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of guix-forge.
;;;
@@ -20,6 +20,7 @@
(define-module (forge cgit)
#:use-module (forge environment)
#:use-module (forge fcgiwrap)
+ #:use-module ((forge git) #:select (git-without-safe-directory-check))
#:use-module (forge nginx)
#:use-module (forge socket)
#:use-module ((gnu packages emacs) #:select (emacs-minimal))
@@ -73,7 +74,7 @@
(cgit cgit-configuration-cgit
(default cgit))
(git cgit-configuration-git
- (default git-minimal))
+ (default git-without-safe-directory-check))
(server-name cgit-configuration-server-name)
(repository-directory cgit-configuration-repository-directory
(default "/srv/git"))