aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/git.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/git.rs b/src/git.rs
index 6a2f153..ac950e5 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -49,6 +49,11 @@ pub fn mirror<P: AsRef<Path>>(
path,
&git2::RepositoryInitOptions::new()
.bare(true)
+
+ // On Linux, using the external template prevents the custom
+ // description from being added. It doesn't make a difference on
+ // Mac OS.
+ .external_template(false)
.description(description),
)?;