Skip to content

Commit 2ec3e4f

Browse files
committed
remove old comment
1 parent 53ab35c commit 2ec3e4f

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

src/authorship/rebase_authorship.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff 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)
182171
pub fn rewrite_authorship_after_rebase_v2(
183172
repo: &Repository,
184173
original_head: &str,

tests/amend.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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(),

0 commit comments

Comments
 (0)