re: Self Code Review with Git Add Patch VIEW POST


Neat way to automate something I usually do manually. Usually I do something like git diff -w master > tmp/diffs.txt (or hg diff -r default > tmp/diffs.txt), and examine that, both looking for things that shouldn't be there (like debugging calls and such) and to compose a detailed pull request description. (Sometimes I'll also do this before an individual commit.)

code of conduct - report abuse