Fix for Drupal Patch creating and reviewing script

  1. # From Steven Wittens (http://acko.net) with modifications from Dmitri Gaskin (http://dmitrizone.com) and Dereine (http://drupal.org/user/99340)
  2. function p {
  3.   wget -O tmp.patch $1;
  4.   patch -p0 < tmp.patch;
  5.   d tmp.patch;
  6. }
  7. function d {
  8.   cvs diff -u -N -F^f -p . > $1.patch;
  9.   // opens the patch in the editor of your choice
  10.   $EDITOR ./$1.patch;
  11. }

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.