changeset 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 eb2a6f66c463
children e7b4607d52e3
files tests/test-git-interop.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 ]'