[pisa-src] r2236 - trunk/tools/subversion/pre-commit-lib

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 01 Apr 2010 11:59:55 +0200

Author: biurrun
Date: Thu Apr  1 11:59:55 2010
New Revision: 2236

Log:
Exempt debian/rules files and the pre-commit-lib itself from tabs checks.

Modified:
   trunk/tools/subversion/pre-commit-lib

Modified: trunk/tools/subversion/pre-commit-lib
==============================================================================
--- trunk/tools/subversion/pre-commit-lib       Thu Apr  1 11:59:13 2010        
(r2235)
+++ trunk/tools/subversion/pre-commit-lib       Thu Apr  1 11:59:55 2010        
(r2236)
@@ -61,7 +61,7 @@
 
 
 check_tabs () {
-    for file in $($SVNLOOK changed -t "$TXN" "$REPOS" | cut -c 5- | egrep -v 
'Makefile.*|\.diff|\.patch|/kernel/') ; do
+    for file in $($SVNLOOK changed -t "$TXN" "$REPOS" | cut -c 5- | egrep -v 
'Makefile.*|\.diff|\.patch|/kernel/|/pre-commit-lib|/debian/rules') ; do
         if ! $SVNLOOK propget -t "$TXN" "$REPOS" svn:mime-type "$file" 2> 
/dev/null ; then
             if $SVNLOOK cat -t "$TXN" "$REPOS" "$file" | grep -e '     ' > 
/dev/null; then
                 echoerr

Other related posts:

  • » [pisa-src] r2236 - trunk/tools/subversion/pre-commit-lib - Diego Biurrun