returns all commits that belong to a particular ref concode_field_sep Date date concode_elem_sep int authorCount concode_elem_sep Map<String,String> refIdChanges concode_elem_sep Set<RepositoryCommit> commits concode_elem_sep long serialVersionUID concode_elem_sep String repository concode_elem_sep Map<String,ReceiveCommand.Type> refUpdates concode_elem_sep UserModel user concode_field_sep String getOldId concode_elem_sep int getAuthorCount concode_elem_sep int getCommitCount concode_elem_sep boolean isDelete concode_elem_sep List<String> getChangedTags concode_elem_sep int compareTo concode_elem_sep ReceiveCommand.Type getChangeType concode_elem_sep RepositoryCommit addCommit concode_elem_sep RepositoryCommit addCommit concode_elem_sep List<String> getChangedRefs concode_elem_sep List<String> getChangedRefs concode_elem_sep List<String> getChangedBranches concode_elem_sep PersonIdent getAuthorIdent concode_elem_sep PersonIdent getCommitterIdent concode_elem_sep void addCommits concode_elem_sep boolean isNonFastForward concode_elem_sep boolean isNonFastForward concode_elem_sep String toString concode_elem_sep void updateRef concode_elem_sep void updateRef concode_elem_sep String getNewId
List < RepositoryCommit > function ( String arg0 ) { List < RepositoryCommit > loc0 = new ArrayList < RepositoryCommit > ( ) ; for ( RepositoryCommit loc1 : commits ) { if ( loc1 . branch . equals ( arg0 ) ) { loc0 . add ( loc1 ) ; } } Collections . sort ( loc0 ) ; return loc0 ; }