@@ -349,12 +349,12 @@ private List<ChangeData> arrangeOrderLikeInRef(
349
349
// It can always be trusted that parent in index 0 is the correct one
350
350
commit = revWalk .parseCommit (commit .getParent (0 ));
351
351
}
352
- } while (commit != null && !revWalk .isMergedInto (commit , branchHead ) && count < 100 );
352
+ } while (commit != null && !revWalk .isMergedInto (commit , branchHead ) && count < 200 );
353
353
} catch (Exception e ) {
354
354
throw new Exception ("arranging change order failed: " + e .getMessage ());
355
355
}
356
356
357
- if (count == 100 ) throw new Exception ("arranging change order failed: too many commits" );
357
+ if (count == 200 ) throw new Exception ("arranging change order failed: too many commits" );
358
358
359
359
return results ;
360
360
}
@@ -424,9 +424,9 @@ private ObjectId findReusableStagingHead(
424
424
// It can always be trusted that parent in index 0 is the correct one
425
425
commit = revWalk .parseCommit (commit .getParent (0 ));
426
426
} else commit = null ;
427
- } while (commit != null && !commit .equals (branchHead ) && count < 100 );
427
+ } while (commit != null && !commit .equals (branchHead ) && count < 200 );
428
428
429
- if (count == 100 ) throw new Exception ("can't find ref, too many commits" );
429
+ if (count == 200 ) throw new Exception ("can't find ref, too many commits" );
430
430
} catch (Exception e ) {
431
431
reusableHead = null ;
432
432
logger .atSevere ().log ("Finding reusable staging commit failed: %s" , e .getMessage ());
@@ -729,14 +729,14 @@ private List<RevCommit> listCommitsInIntegrationBranch(Repository git,
729
729
} else commit = null ;
730
730
}
731
731
count ++;
732
- } while (commit != null && count < 100 );
732
+ } while (commit != null && count < 200 );
733
733
} catch (Exception e ) {
734
734
commits = null ;
735
735
logger .atWarning ().log ("listing commits in a branch failed: %s" , e );
736
736
}
737
737
738
- if (count >= 100 ) {
739
- logger .atWarning ().log ("listing commits in a branch failed: too many commmits " );
738
+ if (count >= 200 ) {
739
+ logger .atWarning ().log ("listing commits in a branch failed: too many commits " );
740
740
return null ;
741
741
}
742
742
0 commit comments