How does the sentence end?

He decided the shirt was too ragged to fix, but the hat was nice, so the
shirt went in the trash.