11use  crate :: init:: PetGraph ; 
2- use  crate :: { CommitFlags ,   Edge ,  Graph ,  Segment ,  SegmentIndex } ; 
2+ use  crate :: { Edge ,  Graph ,  Segment ,  SegmentIndex } ; 
33use  bstr:: ByteSlice ; 
44use  gix:: reference:: Category ; 
55use  petgraph:: graph:: EdgeReference ; 
@@ -10,26 +10,24 @@ impl Graph {
1010    /// Produce a string that concisely represents `commit`, adding `extra` information as needed. 
1111pub  fn  commit_debug_string ( 
1212        commit :  & crate :: Commit , 
13-         has_conflicts :  bool , 
1413        is_entrypoint :  bool , 
1514        show_message :  bool , 
1615        is_early_end :  bool , 
1716        hard_limit :  bool , 
1817    )  -> String  { 
1918        format ! ( 
20-             "{ep}{end}{kind}{conflict}{ hex}{flags}{msg}{refs}" , 
19+             "{ep}{end}{kind}{hex}{flags}{msg}{refs}" , 
2120            ep = if  is_entrypoint {  "👉"  }  else {  ""  } , 
2221            end = if  is_early_end { 
2322                if  hard_limit {  "❌"  }  else {  "✂️"  } 
2423            }  else { 
2524                "" 
2625            } , 
27-             kind = if  commit. flags. contains( CommitFlags :: NotInRemote )  { 
28-                 "·" 
29-             }  else { 
26+             kind = if  commit. flags. is_remote( )  { 
3027                "🟣" 
28+             }  else { 
29+                 "·" 
3130            } , 
32-             conflict = if  has_conflicts {  "💥"  }  else {  ""  } , 
3331            flags = if  !commit. flags. is_empty( )  { 
3432                format!( " ({})" ,  commit. flags. debug_string( ) ) 
3533            }  else { 
@@ -173,10 +171,6 @@ impl Graph {
173171                . map ( |( cidx,  c) | { 
174172                    Self :: commit_debug_string ( 
175173                        c, 
176-                         c. details 
177-                             . as_ref ( ) 
178-                             . map ( |d| d. has_conflicts ) 
179-                             . unwrap_or_default ( ) , 
180174                        !show_segment_entrypoint && Some ( ( sidx,  Some ( cidx) ) )  == entrypoint, 
181175                        false , 
182176                        self . is_early_end_of_traversal ( sidx,  cidx) , 
0 commit comments