Эх сурвалжийг харах

Merge pull request #327 from atoomic/patch-1

Update pre-commit
George S. Baugh 2 жил өмнө
parent
commit
89ee646bea
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      git-hooks/pre-commit

+ 1 - 1
git-hooks/pre-commit

@@ -9,6 +9,6 @@ if [ $to_tidy  ]
 then
     echo "Auto-tidying perl changes..."
     perltidy -b $to_tidy
-    git add $to_tidy
+    git update-index --add $to_tidy
     echo "Done."
 fi