ALL, MERGE_BASE, NO_MERGES, NONE, ONLY_MERGES| Modifier | Constructor and Description |
|---|---|
private |
OnlyMergesFilter() |
| Modifier and Type | Method and Description |
|---|---|
RevFilter |
clone() |
boolean |
include(RevWalk walker,
RevCommit c)
Determine if the supplied commit should be included in results.
|
boolean |
requiresCommitBody()
Whether the filter needs the commit body to be parsed.
|
java.lang.String |
toString() |
public boolean include(RevWalk walker, RevCommit c)
RevFilterinclude in class RevFilterwalker - the active walker this filter is being invoked from within.c - the commit currently being tested. The commit has been parsed
and its body is available for inspection only if the filter
returns true from RevFilter.requiresCommitBody().public RevFilter clone()
RevFilterClone this revision filter, including its parameters.
This is a deep clone. If this filter embeds objects or other filters it must also clone those, to ensure the instances do not share mutable data.
public boolean requiresCommitBody()
RevFilterrequiresCommitBody in class RevFilter