Example usage for org.eclipse.jgit.lib Constants GIT_AUTHOR_EMAIL_KEY

List of usage examples for org.eclipse.jgit.lib Constants GIT_AUTHOR_EMAIL_KEY

Introduction

In this page you can find the example usage for org.eclipse.jgit.lib Constants GIT_AUTHOR_EMAIL_KEY.

Prototype

String GIT_AUTHOR_EMAIL_KEY

To view the source code for org.eclipse.jgit.lib Constants GIT_AUTHOR_EMAIL_KEY.

Click Source Link

Document

The environment variable that contains the author's email

Usage

From source file:org.eclipse.emf.compare.diagram.papyrus.tests.egit.fixture.MockSystemReader.java

License:Eclipse Distribution License

public MockSystemReader() {
    init(Constants.OS_USER_NAME_KEY);//from  w w w  .ja v  a  2s . c o  m
    init(Constants.GIT_AUTHOR_NAME_KEY);
    init(Constants.GIT_AUTHOR_EMAIL_KEY);
    init(Constants.GIT_COMMITTER_NAME_KEY);
    init(Constants.GIT_COMMITTER_EMAIL_KEY);
    userGitConfig = new MockConfig(null, null);
    systemGitConfig = new MockConfig(null, null);
    setCurrentPlatform();
}

From source file:org.jboss.tools.openshift.egit.internal.test.util.MockSystemReader.java

License:Eclipse Distribution License

public MockSystemReader() {
    init(Constants.OS_USER_NAME_KEY);//w w w . j a  va 2  s. co  m
    init(Constants.GIT_AUTHOR_NAME_KEY);
    init(Constants.GIT_AUTHOR_EMAIL_KEY);
    init(Constants.GIT_COMMITTER_NAME_KEY);
    init(Constants.GIT_COMMITTER_EMAIL_KEY);
    userGitConfig = new MockConfig(null, null);
    systemGitConfig = new MockConfig(null, null);
}