Skip to content

Commit 69e5428

Browse files
committed
merge-ort: remove debugging crud
While developing commit a16e8ef (merge-ort: fix merge.directoryRenames=false, 2025-03-13), I was testing things out and had an extra condition on one of the if-blocks that I occasionally swapped between '&& 0' and '&& 1' to see the effects of the changes. I forgot to remove it before submitting and it wasn't caught in review. Remove it now. Signed-off-by: Elijah Newren <[email protected]>
1 parent 5086f2c commit 69e5428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

merge-ort.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3438,7 +3438,7 @@ static int collect_renames(struct merge_options *opt,
34383438
continue;
34393439
}
34403440
if (opt->detect_directory_renames == MERGE_DIRECTORY_RENAMES_NONE &&
3441-
p->status == 'R' && 1) {
3441+
p->status == 'R') {
34423442
possibly_cache_new_pair(renames, p, side_index, NULL);
34433443
goto skip_directory_renames;
34443444
}

0 commit comments

Comments
 (0)