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

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

Introduction

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

Prototype

String GIT_AUTHOR_NAME_KEY

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

Click Source Link

Document

The environment variable that contains the author's name

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);// ww  w . j  a  v a2  s  .  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);// ww  w.ja v a  2  s  . 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);
}