git add --patch
is very important to me. It shows all the diff chunks, and I say "yes" or "no" to add them to the index, from which I commit. In particular if I added something like a console.log
in some random file, it won't be picked up in my commit.
For perforce I haven't found anything similar. Nothing as expressive as git.
Is there a good workflow or solution?