Class ConflictsInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe SHA1 of the commit that was used asours
for the Git merge that created the revision.The SHA1 of the commit that was used astheirs
for the Git merge that created the revision. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ours
The SHA1 of the commit that was used asours
for the Git merge that created the revision.Guaranteed to be set if
containsConflicts
istrue
. IfcontainsConflicts
isfalse
, only set if the revision was created by Gerrit as a result of performing a Git merge. -
theirs
The SHA1 of the commit that was used astheirs
for the Git merge that created the revision.Guaranteed to be set if
containsConflicts
istrue
. IfcontainsConflicts
isfalse
, only set if the revision was created by Gerrit as a result of performing a Git merge. -
containsConflicts
Whether any of the files in the revision has a conflict due to mergingours
andtheirs
.If
true
at least one of the files in the revision has a conflict and contains Git conflict markers. The conflicts occurred while performing a merge betweenours
andtheirs
.If
false
, andours
andtheirs
are present, mergingours
andtheirs
didn't have any conflict. In this case the files in the revision may only contain Git conflict markers if they were already present inours
ortheirs
.If
false
, andours
andtheirs
are not present, the revision was not created as a result of performing a Git merge and hence doesn't contain conflicts.
-
-
Constructor Details
-
ConflictsInfo
public ConflictsInfo()
-