private readonly int tzOffset; // offset in minutes to UTC /// <summary> /// Creates new PersonIdent from config info in repository, with current time. /// This new PersonIdent gets the info from the default committer as available /// from the configuration. /// </summary> /// <param name="repo"></param> public PersonIdent(Repository repo) { RepositoryConfig config = repo.Config; Name = config.getCommitterName(); EmailAddress = config.getCommitterEmail(); When = SystemReader.getInstance().getCurrentTime(); tzOffset = SystemReader.getInstance().getTimezone(When); }