You should stick that code in a different branch in your local repository rather than commit it upstream to potentially rot.