BUILDTOOLS-356: Check includes for git author / email

This commit is contained in:
md_5 2017-09-22 19:32:13 +10:00
parent 582e680ae4
commit f56c3840b4

View file

@ -149,7 +149,7 @@ public class Builder
try
{
runProcess( CWD, "git", "config", "--global", "user.name" );
runProcess( CWD, "git", "config", "--global", "--includes", "user.name" );
} catch ( Exception ex )
{
System.out.println( "Git name not set, setting it to default value." );
@ -157,7 +157,7 @@ public class Builder
}
try
{
runProcess( CWD, "git", "config", "--global", "user.email" );
runProcess( CWD, "git", "config", "--global", "--includes", "user.email" );
} catch ( Exception ex )
{
System.out.println( "Git email not set, setting it to default value." );