From 82966ee8d37f64b4d0b148507a775e8d25116548 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 25 Jun 2021 19:55:50 +0200 Subject: set_agefile_time(): Don't add `agefile=info/web/last-modified` to cgitrc We don't need to set the `agefile` config value because "info/web/last-modified" is already CGit's default value for the setting. --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 0cf4328..6ff441b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -393,11 +393,6 @@ fn set_agefile_time>( &agefile_path.display(), ))?; - repo_cgitrc_append( - &repo_path, - "agefile=info/web/last-modified", - )?; - Ok(()) } -- cgit v1.2.3