diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-13 22:31:59 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-13 22:40:45 +0200 |
commit | 4337bf29dc05a5bae3b628acb38643a2ce5419e4 (patch) | |
tree | 969fa29e6a03958d09cbe1f1d95a76ebc566f0c9 /system/impermanence/mods/minecraft.nix | |
parent | fix(nixos/git-server): Correctly enable the git config feature of gitolite (diff) | |
download | nixos-server-4337bf29dc05a5bae3b628acb38643a2ce5419e4.tar.gz nixos-server-4337bf29dc05a5bae3b628acb38643a2ce5419e4.zip |
fix(nixos/git-server): Correctly specify the section from path length
Cgit effectively splits the repo path on '/' and then takes `section-from-path` segments, which form the section. A negative value here results in cgit traversing the path from left to right instead of right to left. Beware that cgit only sets the section, if the path contains `section-from-path` or more slashes in it (thus rendering this setting defunct with the previous value of 1000). There seems to be no way to tell cgit to always use all components up-to the second to last for the section name, thus requiring all projects that need a longer than 1 section length to set the `cgit.section` git config variable via gitolite.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions