Is there something in Perforce that works like git add -p?
I'd like to diff my local file against the depot, and then choose which parts of the diff will end up in the changelist.
(My goal here is to take multiple changes I've made to a file and commit them in two separate changelists, since they're not conceptually related. But you could also use this to not commit debug code but still leave it in locally).