|
133 | 133 | " Take the hind shin of beef, cut off all the flesh off the leg-bone,\n" \ |
134 | 134 | " which must be taken away entirely, or the soup will be greasy. Wash the\n" |
135 | 135 |
|
| 136 | +#define DIFF_RENAME_A_TO_B_TO_C \ |
| 137 | + "diff --git a/asparagus.txt b/asparagus.txt\n" \ |
| 138 | + "deleted file mode 100644\n" \ |
| 139 | + "index f516580..0000000\n" \ |
| 140 | + "--- a/asparagus.txt\n" \ |
| 141 | + "+++ /dev/null\n" \ |
| 142 | + "@@ -1,10 +0,0 @@\n" \ |
| 143 | + "-ASPARAGUS SOUP!\n" \ |
| 144 | + "-\n" \ |
| 145 | + "-Take four large bunches of asparagus, scrape it nicely, cut off one inch\n" \ |
| 146 | + "-of the tops, and lay them in water, chop the stalks and put them on the\n" \ |
| 147 | + "-fire with a piece of bacon, a large onion cut up, and pepper and salt;\n" \ |
| 148 | + "-add two quarts of water, boil them till the stalks are quite soft, then\n" \ |
| 149 | + "-pulp them through a sieve, and strain the water to it, which must be put\n" \ |
| 150 | + "-back in the pot; put into it a chicken cut up, with the tops of\n" \ |
| 151 | + "-asparagus which had been laid by, boil it until these last articles are\n" \ |
| 152 | + "-sufficiently done, thicken with flour, butter and milk, and serve it up.\n" \ |
| 153 | + "diff --git a/beef.txt b/beef.txt\n" \ |
| 154 | + "index 68f6182..f516580 100644\n" \ |
| 155 | + "--- a/beef.txt\n" \ |
| 156 | + "+++ b/beef.txt\n" \ |
| 157 | + "@@ -1,22 +1,10 @@\n" \ |
| 158 | + "-BEEF SOUP.\n" \ |
| 159 | + "+ASPARAGUS SOUP!\n" \ |
| 160 | + "\n" \ |
| 161 | + "-Take the hind shin of beef, cut off all the flesh off the leg-bone,\n" \ |
| 162 | + "-which must be taken away entirely, or the soup will be greasy. Wash the\n" \ |
| 163 | + "-meat clean and lay it in a pot, sprinkle over it one small\n" \ |
| 164 | + "-table-spoonful of pounded black pepper, and two of salt; three onions\n" \ |
| 165 | + "-the size of a hen's egg, cut small, six small carrots scraped and cut\n" \ |
| 166 | + "-up, two small turnips pared and cut into dice; pour on three quarts of\n" \ |
| 167 | + "-water, cover the pot close, and keep it gently and steadily boiling five\n" \ |
| 168 | + "-hours, which will leave about three pints of clear soup; do not let the\n" \ |
| 169 | + "-pot boil over, but take off the scum carefully, as it rises. When it has\n" \ |
| 170 | + "-boiled four hours, put in a small bundle of thyme and parsley, and a\n" \ |
| 171 | + "-pint of celery cut small, or a tea-spoonful of celery seed pounded.\n" \ |
| 172 | + "-These latter ingredients would lose their delicate flavour if boiled too\n" \ |
| 173 | + "-much. Just before you take it up, brown it in the following manner: put\n" \ |
| 174 | + "-a small table-spoonful of nice brown sugar into an iron skillet, set it\n" \ |
| 175 | + "-on the fire and stir it till it melts and looks very dark, pour into it\n" \ |
| 176 | + "-a ladle full of the soup, a little at a time; stirring it all the while.\n" \ |
| 177 | + "-Strain this browning and mix it well with the soup; take out the bundle\n" \ |
| 178 | + "-of thyme and parsley, put the nicest pieces of meat in your tureen, and\n" \ |
| 179 | + "-pour on the soup and vegetables; put in some toasted bread cut in dice,\n" \ |
| 180 | + "-and serve it up.\n" \ |
| 181 | + "+Take four large bunches of asparagus, scrape it nicely, cut off one inch\n" \ |
| 182 | + "+of the tops, and lay them in water, chop the stalks and put them on the\n" \ |
| 183 | + "+fire with a piece of bacon, a large onion cut up, and pepper and salt;\n" \ |
| 184 | + "+add two quarts of water, boil them till the stalks are quite soft, then\n" \ |
| 185 | + "+pulp them through a sieve, and strain the water to it, which must be put\n" \ |
| 186 | + "+back in the pot; put into it a chicken cut up, with the tops of\n" \ |
| 187 | + "+asparagus which had been laid by, boil it until these last articles are\n" \ |
| 188 | + "+sufficiently done, thicken with flour, butter and milk, and serve it up.\n" \ |
| 189 | + "diff --git a/notbeef.txt b/notbeef.txt\n" \ |
| 190 | + "new file mode 100644\n" \ |
| 191 | + "index 0000000..68f6182\n" \ |
| 192 | + "--- /dev/null\n" \ |
| 193 | + "+++ b/notbeef.txt\n" \ |
| 194 | + "@@ -0,0 +1,22 @@\n" \ |
| 195 | + "+BEEF SOUP.\n" \ |
| 196 | + "+\n" \ |
| 197 | + "+Take the hind shin of beef, cut off all the flesh off the leg-bone,\n" \ |
| 198 | + "+which must be taken away entirely, or the soup will be greasy. Wash the\n" \ |
| 199 | + "+meat clean and lay it in a pot, sprinkle over it one small\n" \ |
| 200 | + "+table-spoonful of pounded black pepper, and two of salt; three onions\n" \ |
| 201 | + "+the size of a hen's egg, cut small, six small carrots scraped and cut\n" \ |
| 202 | + "+up, two small turnips pared and cut into dice; pour on three quarts of\n" \ |
| 203 | + "+water, cover the pot close, and keep it gently and steadily boiling five\n" \ |
| 204 | + "+hours, which will leave about three pints of clear soup; do not let the\n" \ |
| 205 | + "+pot boil over, but take off the scum carefully, as it rises. When it has\n" \ |
| 206 | + "+boiled four hours, put in a small bundle of thyme and parsley, and a\n" \ |
| 207 | + "+pint of celery cut small, or a tea-spoonful of celery seed pounded.\n" \ |
| 208 | + "+These latter ingredients would lose their delicate flavour if boiled too\n" \ |
| 209 | + "+much. Just before you take it up, brown it in the following manner: put\n" \ |
| 210 | + "+a small table-spoonful of nice brown sugar into an iron skillet, set it\n" \ |
| 211 | + "+on the fire and stir it till it melts and looks very dark, pour into it\n" \ |
| 212 | + "+a ladle full of the soup, a little at a time; stirring it all the while.\n" \ |
| 213 | + "+Strain this browning and mix it well with the soup; take out the bundle\n" \ |
| 214 | + "+of thyme and parsley, put the nicest pieces of meat in your tureen, and\n" \ |
| 215 | + "+pour on the soup and vegetables; put in some toasted bread cut in dice,\n" \ |
| 216 | + "+and serve it up.\n" |
| 217 | + |
| 218 | +#define DIFF_RENAME_A_TO_B_TO_C_EXACT \ |
| 219 | + "diff --git a/asparagus.txt b/beef.txt\n" \ |
| 220 | + "similarity index 100%\n" \ |
| 221 | + "rename from asparagus.txt\n" \ |
| 222 | + "rename to beef.txt\n" \ |
| 223 | + "diff --git a/beef.txt b/notbeef.txt\n" \ |
| 224 | + "similarity index 100%\n" \ |
| 225 | + "rename from beef.txt\n" \ |
| 226 | + "rename to notbeef.txt\n" |
| 227 | + |
136 | 228 | struct iterator_compare_data { |
137 | 229 | struct merge_index_entry *expected; |
138 | 230 | size_t cnt; |
|
0 commit comments