upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/test_utils
diff options
context:
space:
mode:
Diffstat (limited to 'test_utils')
-rw-r--r--test_utils/src/git.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test_utils/src/git.rs b/test_utils/src/git.rs
index 76656df..db50165 100644
--- a/test_utils/src/git.rs
+++ b/test_utils/src/git.rs
@@ -25,6 +25,9 @@ impl GitTestRepo {
25 .initial_head(main_branch_name) 25 .initial_head(main_branch_name)
26 .mkpath(true), 26 .mkpath(true),
27 )?; 27 )?;
28 // Make sure we have standard diffs for the tests so that user-level config does
29 // not make them fail.
30 git_repo.config()?.set_bool("diff.mnemonicPrefix", false)?;
28 Ok(Self { 31 Ok(Self {
29 dir: path, 32 dir: path,
30 git_repo, 33 git_repo,