Also indent XML files with 4 spaces. 30/8430/1
Vincent COUVERT [Tue, 31 Jul 2012 07:12:16 +0000 (09:12 +0200)]
Change-Id: I002f8fa048c18617468aec5337fd4bd1629d08dc

git_hooks/pre-commit

index 7efe4f3..5a943fe 100755 (executable)
@@ -140,8 +140,8 @@ __indent_xml() {
     fi
 
     echo "Formatting" $file
-    "$XMLINDENT" -i 2 -o "$file" "$file" ||┬áreturn 4;
-    git add "$file" ||┬áreturn 5;
+    "$XMLINDENT" -i 4 -o "$file" "$file" || return 4;
+    git add "$file" || return 5;
 }
 
 # Pre process before the indent