public RebaseCommand setUpstream(RevCommit upstream) {this.upstreamCommit = upstream;this.upstreamCommitName = upstream.name();return this;}
public virtual NGit.Api.RebaseCommand SetUpstream(RevCommit upstream){this.upstreamCommit = upstream;this.upstreamCommitName = upstream.Name;return this;}