@@ -428,8 +428,10 @@ private void Add(double x, double y)
428428 /// </summary>
429429 private static bool IsLinearRepository ( List < Commit > commits )
430430 {
431- if ( commits . Count == 0 ) return true ;
432- if ( commits . Count == 1 ) return true ;
431+ if ( commits . Count == 0 )
432+ return true ;
433+ if ( commits . Count == 1 )
434+ return true ;
433435
434436 System . Diagnostics . Debug . WriteLine ( $ "IsLinearRepository: Checking { commits . Count } commits") ;
435437
@@ -476,7 +478,8 @@ private static async Task<CommitGraph> ParseLinearRepositoryAsync(List<Commit> c
476478 const double halfHeight = 0.5 ;
477479
478480 var graph = new CommitGraph ( ) ;
479- if ( commits . Count == 0 ) return graph ;
481+ if ( commits . Count == 0 )
482+ return graph ;
480483
481484 // Create a single path for the linear history
482485 var path = new Path ( 0 , false ) ; // Color 0, not merged (main branch)
@@ -701,7 +704,8 @@ private static CommitGraph ParseLinearRepository(List<Commit> commits)
701704 const double halfHeight = 0.5 ;
702705
703706 var graph = new CommitGraph ( ) ;
704- if ( commits . Count == 0 ) return graph ;
707+ if ( commits . Count == 0 )
708+ return graph ;
705709
706710 // Create a single path for the linear history
707711 var path = new Path ( 0 , false ) ; // Color 0, not merged (main branch)
0 commit comments