Is there something in Perforce that works like git add -p ?
I would like to split my local file into a depot, and then choose which parts of diff will fall into the change list.
(My goal is to make several changes that I made to the file and transfer them to two separate change lists, since they are not conceptually related. But you can also use this to not execute the debugging code, but still leave it locally).
source share