mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-08-05 16:59:05 +00:00
BUILDTOOLS-356: Check includes for git author / email
This commit is contained in:
parent
582e680ae4
commit
f56c3840b4
1 changed files with 2 additions and 2 deletions
|
@ -149,7 +149,7 @@ public class Builder
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
runProcess( CWD, "git", "config", "--global", "user.name" );
|
runProcess( CWD, "git", "config", "--global", "--includes", "user.name" );
|
||||||
} catch ( Exception ex )
|
} catch ( Exception ex )
|
||||||
{
|
{
|
||||||
System.out.println( "Git name not set, setting it to default value." );
|
System.out.println( "Git name not set, setting it to default value." );
|
||||||
|
@ -157,7 +157,7 @@ public class Builder
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
runProcess( CWD, "git", "config", "--global", "user.email" );
|
runProcess( CWD, "git", "config", "--global", "--includes", "user.email" );
|
||||||
} catch ( Exception ex )
|
} catch ( Exception ex )
|
||||||
{
|
{
|
||||||
System.out.println( "Git email not set, setting it to default value." );
|
System.out.println( "Git email not set, setting it to default value." );
|
||||||
|
|
Loading…
Add table
Reference in a new issue