diff options
author | md_5 <git@md-5.net> | 2017-09-22 19:32:13 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-09-22 19:32:13 +1000 |
commit | f56c3840b41634d98ebfcaeb2c22e00768db9593 (patch) | |
tree | 1d92d515740d459ebd335efcd4c8a1403b58b9c1 /src/main | |
parent | 582e680ae44ca711c3c7b3b04c4f3b258a1b4a12 (diff) | |
download | buildtools-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
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/spigotmc/builder/Builder.java | 4 |
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." ); |