File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -168,17 +168,6 @@ pub fn prepare_working_log_after_squash(
168168    Ok ( ( ) ) 
169169} 
170170
171- /// Rewrite authorship logs after a rebase operation using VirtualAttributions 
172- /// 
173- /// This is the new implementation that replaces the hanging commit / blame_in_context approach. 
174- /// It processes commits sequentially, transforming attributions through each commit in the rebase. 
175- /// 
176- /// # Arguments 
177- /// * `repo` - Git repository 
178- /// * `original_head` - SHA of the HEAD before rebase 
179- /// * `original_commits` - Vector of original commit SHAs (before rebase), oldest first 
180- /// * `new_commits` - Vector of new commit SHAs (after rebase), oldest first 
181- /// * `_human_author` - The human author identifier (unused in this implementation) 
182171pub  fn  rewrite_authorship_after_rebase_v2 ( 
183172    repo :  & Repository , 
184173    original_head :  & str , 
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ fn test_amend_add_lines_at_top() {
3333        "initial attributions: {:?}" , 
3434        repo. current_working_logs( ) . read_initial_attributions( ) 
3535    ) ; 
36-      
36+ 
3737    // Now stage and commit the AI lines 
3838    repo. stage_all_and_commit ( "Add AI lines" ) . unwrap ( ) ; 
39-      
39+ 
4040    // Verify AI authorship is preserved after the second commit 
4141    file. assert_lines_and_blame ( lines ! [ 
4242        "// AI added line 1" . ai( ) , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments