You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2018/09/08 20:23:48 UTC

[maven-scm] branch SCM-905 created (now 92d79ca)

This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a change to branch SCM-905
in repository https://gitbox.apache.org/repos/asf/maven-scm.git.


      at 92d79ca  [SCM-905] Tests with checkin rely on global Git config (2)

This branch includes the following new commits:

     new 92d79ca  [SCM-905] Tests with checkin rely on global Git config (2)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-scm] 01/01: [SCM-905] Tests with checkin rely on global Git config (2)

Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch SCM-905
in repository https://gitbox.apache.org/repos/asf/maven-scm.git

commit 92d79ca24a6472d91cfb93719c30d942eea64160
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Sat Sep 8 22:23:21 2018 +0200

    [SCM-905] Tests with checkin rely on global Git config (2)
---
 .../scm/provider/git/gitexe/command/checkin/GitCheckInCommandTest.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/test/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommandTest.java b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/test/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommandTest.java
index 8f26a0a..cea5b91 100644
--- a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/test/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommandTest.java
+++ b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/test/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommandTest.java
@@ -143,6 +143,9 @@ public class GitCheckInCommandTest
             "scm:git:" + repo.toPath().toAbsolutePath().toUri().toASCIIString() );
         checkoutRepoInto( checkedOutRepo, scmRepository );
 
+        // Add a default user to the config
+        GitScmTestUtils.setDefaultUser( checkedOutRepo );
+
         // Creating beer.xml and whiskey.xml
         File beerFile = new File( checkedOutRepo.getAbsolutePath(), "beer.xml" );
         FileUtils.fileWrite( beerFile.getAbsolutePath(), "1/2 litre" );