@@ -62,17 +62,17 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
6262 if (!strcmp (cmd , "checkout" ))
6363 msg = advice_commit_before_merge
6464 ? _ ("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." )
6666 : _ ("Your local changes to the following files would be overwritten by checkout:\n%%s" );
6767 else if (!strcmp (cmd , "merge" ))
6868 msg = advice_commit_before_merge
6969 ? _ ("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." )
7171 : _ ("Your local changes to the following files would be overwritten by merge:\n%%s" );
7272 else
7373 msg = advice_commit_before_merge
7474 ? _ ("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." )
7676 : _ ("Your local changes to the following files would be overwritten by %s:\n%%s" );
7777 msgs [ERROR_WOULD_OVERWRITE ] = msgs [ERROR_NOT_UPTODATE_FILE ] =
7878 xstrfmt (msg , cmd , cmd );
@@ -83,34 +83,34 @@ void setup_unpack_trees_porcelain(struct unpack_trees_options *opts,
8383 if (!strcmp (cmd , "checkout" ))
8484 msg = advice_commit_before_merge
8585 ? _ ("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." )
8787 : _ ("The following untracked working tree files would be removed by checkout:\n%%s" );
8888 else if (!strcmp (cmd , "merge" ))
8989 msg = advice_commit_before_merge
9090 ? _ ("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." )
9292 : _ ("The following untracked working tree files would be removed by merge:\n%%s" );
9393 else
9494 msg = advice_commit_before_merge
9595 ? _ ("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." )
9797 : _ ("The following untracked working tree files would be removed by %s:\n%%s" );
9898 msgs [ERROR_WOULD_LOSE_UNTRACKED_REMOVED ] = xstrfmt (msg , cmd , cmd );
9999
100100 if (!strcmp (cmd , "checkout" ))
101101 msg = advice_commit_before_merge
102102 ? _ ("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." )
104104 : _ ("The following untracked working tree files would be overwritten by checkout:\n%%s" );
105105 else if (!strcmp (cmd , "merge" ))
106106 msg = advice_commit_before_merge
107107 ? _ ("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." )
109109 : _ ("The following untracked working tree files would be overwritten by merge:\n%%s" );
110110 else
111111 msg = advice_commit_before_merge
112112 ? _ ("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." )
114114 : _ ("The following untracked working tree files would be overwritten by %s:\n%%s" );
115115 msgs [ERROR_WOULD_LOSE_UNTRACKED_OVERWRITTEN ] = xstrfmt (msg , cmd , cmd );
116116
0 commit comments