? 118177-document-code-clean-sh.patch
? 607240-ajax-space-bar.patch
? modules/search/search.module-test
Index: scripts/code-clean.sh
===================================================================
RCS file: /cvs/drupal/drupal/scripts/code-clean.sh,v
retrieving revision 1.10
diff -u -p -r1.10 code-clean.sh
--- scripts/code-clean.sh	9 Mar 2009 20:46:37 -0000	1.10
+++ scripts/code-clean.sh	13 Nov 2009 17:02:09 -0000
@@ -1,10 +1,20 @@
 #!/bin/sh
 # $Id: code-clean.sh,v 1.10 2009/03/09 20:46:37 dries Exp $
 
+# This script provides a quick way for core developers to clean up the core code
+# during the core development cycle.
+#
+# DO NOT RUN ON A PRODUCTION SITE AS THIS COULD CAUSE DATA LOSS.
+
+# Remove temp files left behind by various text editors.
 find . -name "*~" -type f | xargs rm -f
 find . -name ".#*" -type f | xargs rm -f
 find . -name "*.rej" -type f | xargs rm -f
 find . -name "*.orig" -type f | xargs rm -f
 find . -name "DEADJOE" -type f | xargs rm -f
+
+# Remove excess spaces at the end of lines.
 find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\s+$/\n/'
+
+# Convert tabs to spaces in code files.
 find . -type f | grep -v ".psp" | grep -v ".gif" | grep -v ".jpg" | grep -v ".png" | grep -v ".tgz" | grep -v ".ico" | grep -v "druplicon" | xargs perl -wi -pe 's/\t/  /g'
