From 30d722da053fb4007b897cb201418b4fed544ace Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 6 Feb 2025 23:47:51 +0100 Subject: feat: Add option for remove ".git" suffix --- pkg/config/config_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/config/config_test.go') diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go index cc58ce9..949238e 100644 --- a/pkg/config/config_test.go +++ b/pkg/config/config_test.go @@ -110,6 +110,8 @@ listen-addr unix://var/run/cerrado/cerrado.sock passphrase $2a$14$VnB/ZcB1DUDkMnosRA6Y7.dj8h5eroslDxTeXlLwfQX/x86mh6WAq aes-key 8XHptZxSWCGs1m7QzztX5zNQ7D9NiQevVX0DaUTNMbDpRwFzoJiB0U7K6O/kqIt01jJVgzBUfiR8ES46ZLLb4w== syntax-highlight monokailight +order-by lastcommit-desc +remove-suffix true scan "/srv/git" { public true @@ -134,6 +136,8 @@ repository /srv/git/cerrado.git { Passphrase: "$2a$14$VnB/ZcB1DUDkMnosRA6Y7.dj8h5eroslDxTeXlLwfQX/x86mh6WAq", AESKey: "8XHptZxSWCGs1m7QzztX5zNQ7D9NiQevVX0DaUTNMbDpRwFzoJiB0U7K6O/kqIt01jJVgzBUfiR8ES46ZLLb4w==", SyntaxHighlight: "monokailight", + OrderBy: "lastcommit-desc", + RemoveSuffix: true, Repositories: []*GitRepositoryConfiguration{ { Name: "linux.git", -- cgit v1.2.3