@Test public void commitWithCommitter_theResultCommitShouldHaveTheSpecifiedCommitter() throws IOException { writeSomethingToGfs(); PersonIdent committer = new PersonIdent("test_committer_name", "test_committer@email.com"); Result result = Gfs.commit(gfs).committer(committer).execute(); assertEquals(committer, result.getCommit().getCommitterIdent()); }
@Nonnull public GfsCommit committer(@Nullable PersonIdent committer) { this.committer = committer; return this; }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit committer(@Nullable PersonIdent committer) { this.committer = committer; return this; } }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit committer(@Nullable PersonIdent committer) { this.committer = committer; return this; } GfsCommit(GitFileSystem gfs); }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit committer(@Nullable PersonIdent committer) { this.committer = committer; return this; } GfsCommit(GitFileSystem gfs); @Nonnull GfsCommit author(@Nullable PersonIdent author); @Nonnull GfsCommit committer(@Nullable PersonIdent committer); @Nonnull GfsCommit message(@Nullable String message); @Nonnull GfsCommit amend(boolean amend); @Nonnull GfsCommit allowEmpty(boolean allowEmpty); }
GfsCommit extends GfsCommand<GfsCommit.Result> { @Nonnull public GfsCommit committer(@Nullable PersonIdent committer) { this.committer = committer; return this; } GfsCommit(GitFileSystem gfs); @Nonnull GfsCommit author(@Nullable PersonIdent author); @Nonnull GfsCommit committer(@Nullable PersonIdent committer); @Nonnull GfsCommit message(@Nullable String message); @Nonnull GfsCommit amend(boolean amend); @Nonnull GfsCommit allowEmpty(boolean allowEmpty);  }