@@ -62,17 +62,17 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
62
62
if (!strcmp (cmd , "checkout" ))
63
63
msg = advice_commit_before_merge
64
64
? _ ("Your local changes to the following files would be overwritten by checkout:\n%%s"
65
- "Please commit your changes or stash them before you can switch branches." )
65
+ "Please commit your changes or stash them before you switch branches." )
66
66
: _ ("Your local changes to the following files would be overwritten by checkout:\n%%s" );
67
67
else if (!strcmp (cmd , "merge" ))
68
68
msg = advice_commit_before_merge
69
69
? _ ("Your local changes to the following files would be overwritten by merge:\n%%s"
70
- "Please commit your changes or stash them before you can merge." )
70
+ "Please commit your changes or stash them before you merge." )
71
71
: _ ("Your local changes to the following files would be overwritten by merge:\n%%s" );
72
72
else
73
73
msg = advice_commit_before_merge
74
74
? _ ("Your local changes to the following files would be overwritten by %s:\n%%s"
75
- "Please commit your changes or stash them before you can %s." )
75
+ "Please commit your changes or stash them before you %s." )
76
76
: _ ("Your local changes to the following files would be overwritten by %s:\n%%s" );
77
77
msgs [ERROR_WOULD_OVERWRITE ] = msgs [ERROR_NOT_UPTODATE_FILE ] =
78
78
xstrfmt (msg , cmd , cmd );
@@ -83,34 +83,34 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
83
83
if (!strcmp (cmd , "checkout" ))
84
84
msg = advice_commit_before_merge
85
85
? _ ("The following untracked working tree files would be removed by checkout:\n%%s"
86
- "Please move or remove them before you can switch branches." )
86
+ "Please move or remove them before you switch branches." )
87
87
: _ ("The following untracked working tree files would be removed by checkout:\n%%s" );
88
88
else if (!strcmp (cmd , "merge" ))
89
89
msg = advice_commit_before_merge
90
90
? _ ("The following untracked working tree files would be removed by merge:\n%%s"
91
- "Please move or remove them before you can merge." )
91
+ "Please move or remove them before you merge." )
92
92
: _ ("The following untracked working tree files would be removed by merge:\n%%s" );
93
93
else
94
94
msg = advice_commit_before_merge
95
95
? _ ("The following untracked working tree files would be removed by %s:\n%%s"
96
- "Please move or remove them before you can %s." )
96
+ "Please move or remove them before you %s." )
97
97
: _ ("The following untracked working tree files would be removed by %s:\n%%s" );
98
98
msgs [ERROR_WOULD_LOSE_UNTRACKED_REMOVED ] = xstrfmt (msg , cmd , cmd );
99
99
100
100
if (!strcmp (cmd , "checkout" ))
101
101
msg = advice_commit_before_merge
102
102
? _ ("The following untracked working tree files would be overwritten by checkout:\n%%s"
103
- "Please move or remove them before you can switch branches." )
103
+ "Please move or remove them before you switch branches." )
104
104
: _ ("The following untracked working tree files would be overwritten by checkout:\n%%s" );
105
105
else if (!strcmp (cmd , "merge" ))
106
106
msg = advice_commit_before_merge
107
107
? _ ("The following untracked working tree files would be overwritten by merge:\n%%s"
108
- "Please move or remove them before you can merge." )
108
+ "Please move or remove them before you merge." )
109
109
: _ ("The following untracked working tree files would be overwritten by merge:\n%%s" );
110
110
else
111
111
msg = advice_commit_before_merge
112
112
? _ ("The following untracked working tree files would be overwritten by %s:\n%%s"
113
- "Please move or remove them before you can %s." )
113
+ "Please move or remove them before you %s." )
114
114
: _ ("The following untracked working tree files would be overwritten by %s:\n%%s" );
115
115
msgs [ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN ] = xstrfmt (msg , cmd , cmd );
116
116
0 commit comments