|
|
|
|
|
|
|
|
* Set the person to use as the author and committer in the commits made |
|
|
* Set the person to use as the author and committer in the commits made |
|
|
* |
|
|
* |
|
|
* @param person |
|
|
* @param person |
|
|
|
|
|
* @return {@code this} |
|
|
*/ |
|
|
*/ |
|
|
public void setPerson(PersonIdent person) { |
|
|
|
|
|
|
|
|
public StashCreateCommand setPerson(PersonIdent person) { |
|
|
this.person = person; |
|
|
this.person = person; |
|
|
|
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|
|
|
|
|
|
* This value defaults to {@link Constants#R_STASH} |
|
|
* This value defaults to {@link Constants#R_STASH} |
|
|
* |
|
|
* |
|
|
* @param ref |
|
|
* @param ref |
|
|
|
|
|
* @return {@code this} |
|
|
*/ |
|
|
*/ |
|
|
public void setRef(String ref) { |
|
|
|
|
|
|
|
|
public StashCreateCommand setRef(String ref) { |
|
|
this.ref = ref; |
|
|
this.ref = ref; |
|
|
|
|
|
return this; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private RevCommit parseCommit(final ObjectReader reader, |
|
|
private RevCommit parseCommit(final ObjectReader reader, |