summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-09-22 19:32:13 +1000
committermd_5 <git@md-5.net>2017-09-22 19:32:13 +1000
commitf56c3840b41634d98ebfcaeb2c22e00768db9593 (patch)
tree1d92d515740d459ebd335efcd4c8a1403b58b9c1
parent582e680ae44ca711c3c7b3b04c4f3b258a1b4a12 (diff)
downloadbuildtools-f56c3840b41634d98ebfcaeb2c22e00768db9593.tar
buildtools-f56c3840b41634d98ebfcaeb2c22e00768db9593.tar.gz
buildtools-f56c3840b41634d98ebfcaeb2c22e00768db9593.tar.lz
buildtools-f56c3840b41634d98ebfcaeb2c22e00768db9593.tar.xz
buildtools-f56c3840b41634d98ebfcaeb2c22e00768db9593.zip
BUILDTOOLS-356: Check includes for git author / email
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java
index a6721bf..0469d62 100644
--- a/src/main/java/org/spigotmc/builder/Builder.java
+++ b/src/main/java/org/spigotmc/builder/Builder.java
@@ -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." );