File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -3050,12 +3050,21 @@ static void process_entry(struct merge_options *opt,
3050
3050
rename_b = 1 ;
3051
3051
}
3052
3052
3053
- path_msg (opt , path , 0 ,
3054
- _ ("CONFLICT (distinct types): %s had different "
3055
- "types on each side; renamed %s of them so "
3056
- "each can be recorded somewhere." ),
3057
- path ,
3058
- (rename_a && rename_b ) ? _ ("both" ) : _ ("one" ));
3053
+ if (rename_a && rename_b ) {
3054
+ path_msg (opt , path , 0 ,
3055
+ _ ("CONFLICT (distinct types): %s had "
3056
+ "different types on each side; "
3057
+ "renamed both of them so each can "
3058
+ "be recorded somewhere." ),
3059
+ path );
3060
+ } else {
3061
+ path_msg (opt , path , 0 ,
3062
+ _ ("CONFLICT (distinct types): %s had "
3063
+ "different types on each side; "
3064
+ "renamed one of them so each can be "
3065
+ "recorded somewhere." ),
3066
+ path );
3067
+ }
3059
3068
3060
3069
ci -> merged .clean = 0 ;
3061
3070
memcpy (new_ci , ci , sizeof (* new_ci ));
You can’t perform that action at this time.
0 commit comments