Skip to content

Commit cbbeeab

Browse files
newrengitster
authored andcommitted
merge-ort: update comments to modern testfile location
In commit 919df31 (Collect merge-related tests to t64xx, 2020-08-10), merge related tests were moved from t60xx to t64xx. Some comments in merge-ort relating to some tricky code referenced specific testcases within certain testfiles for additional information, but referred to their historical testfile names; update the testfile names to mention their modern location. Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 16bd9f2 commit cbbeeab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

merge-ort.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ static int handle_content_merge(struct merge_options *opt,
21632163
/*
21642164
* FIXME: If opt->priv->call_depth && !clean, then we really
21652165
* should not make result->mode match either a->mode or
2166-
* b->mode; that causes t6036 "check conflicting mode for
2166+
* b->mode; that causes t6416 "check conflicting mode for
21672167
* regular file" to fail. It would be best to use some other
21682168
* mode, but we'll confuse all kinds of stuff if we use one
21692169
* where S_ISREG(result->mode) isn't true, and if we use
@@ -2520,7 +2520,7 @@ static void compute_collisions(struct strmap *collisions,
25202520
* happening, and fall back to no-directory-rename detection
25212521
* behavior for those paths.
25222522
*
2523-
* See testcases 9e and all of section 5 from t6043 for examples.
2523+
* See testcases 9e and all of section 5 from t6423 for examples.
25242524
*/
25252525
for (i = 0; i < pairs->nr; ++i) {
25262526
struct strmap_entry *rename_info;
@@ -2618,7 +2618,7 @@ static char *check_for_directory_rename(struct merge_options *opt,
26182618
* That's why otherinfo and dir_rename_exclusions is here.
26192619
*
26202620
* As it turns out, this also prevents N-way transient rename
2621-
* confusion; See testcases 9c and 9d of t6043.
2621+
* confusion; See testcases 9c and 9d of t6423.
26222622
*/
26232623
new_dir = rename_info->value; /* old_dir = rename_info->key; */
26242624
otherinfo = strmap_get_entry(dir_rename_exclusions, new_dir);

0 commit comments

Comments
 (0)