diff tests/test-git-interop.t @ 46840:6dea77e195d2

test: enforce master to be the default branch in test Newer git issue a message about this. Differential Revision: https://phab.mercurial-scm.org/D10281
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 28 Mar 2021 19:50:37 +0200
parents 38f55ef058fb
children fe34c75f62ab
line wrap: on
line diff
--- a/tests/test-git-interop.t	Sun Mar 28 21:53:39 2021 +0200
+++ b/tests/test-git-interop.t	Sun Mar 28 19:50:37 2021 +0200
@@ -14,6 +14,7 @@
   >    git commit "$@" >/dev/null 2>/dev/null || echo "git commit error"
   >    count=`expr $count + 1`
   >  }
+  $ git config --global init.defaultBranch master
 
 
   $ hg version -v --config extensions.git= | grep '^[E ]'