class UIGit extends VCS implements IVCS {

  @Override
  public boolean commit( String authorName, String message ) {
    PersonIdent author = RawParseUtils.parsePersonIdent( authorName );
    // Set the local time
    PersonIdent author2 = new PersonIdent( author.getName(), author.getEmailAddress(),
        SystemReader.getInstance().getCurrentTime(),
        SystemReader.getInstance().getTimezone( SystemReader.getInstance().getCurrentTime() ) );
    try {
      git.commit().setAuthor( author2 ).setMessage( message ).call();
      return true;
    } catch ( Exception e ) {
      showMessageBox( BaseMessages.getString( PKG, "Dialog.Error" ), e.getMessage() );
      return false;
    }
  }

}