Commit c545bc6
t5801: don't use test_when_finished in a subshell
test_when_finished has no effect in a subshell. Since the cmp_marks
function is only used once, inline it at its call site and move the
test_when_finished invocation to the start of the test.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent 1a9a23e commit c545bc6
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | 245 | | |
253 | 246 | | |
254 | 247 | | |
| |||
258 | 251 | | |
259 | 252 | | |
260 | 253 | | |
| 254 | + | |
261 | 255 | | |
262 | 256 | | |
263 | 257 | | |
264 | 258 | | |
265 | 259 | | |
266 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
267 | 263 | | |
268 | 264 | | |
269 | 265 | | |
| |||
0 commit comments