Permalink
Browse files

[FIXED JENKINS-9071] git config options for email and user name now s…

…ave properly.
  • Loading branch information...
abayer committed Apr 13, 2011
1 parent aa753c3 commit a85452d04a0cfe1d0609ffa0dc4956a914d7f07e
@@ -1209,13 +1209,21 @@ public String getGlobalConfigName() {
return globalConfigName;
}

public void setGlobalConfigName(String globalConfigName) {
this.globalConfigName = globalConfigName;
}

/**
* Global setting to be used in call to "git config user.email".
*/
public String getGlobalConfigEmail() {
return globalConfigEmail;
}

public void setGlobalConfigEmail(String globalConfigEmail) {
this.globalConfigEmail = globalConfigEmail;
}

/**
* Old configuration of git executable - exposed so that we can
* migrate this setting to GitTool without deprecation warnings.
@@ -81,10 +81,10 @@
<f:textbox name="git.relativeTargetDir" value="${scm.relativeTargetDir}" />
</f:entry>
<f:entry title="Config user.name Value" field="gitConfigName">
<f:textbox />
<f:textbox name="git.gitConfigName" value="${scm.gitConfigName}" />
</f:entry>
<f:entry title="Config user.email Value" field="gitConfigEmail">
<f:textbox />
<f:textbox name="git.gitConfigEmail" value="${scm.gitConfigEmail}" />
</f:entry>

<!-- This needs more thought

0 comments on commit a85452d

Please sign in to comment.