Add test for dmca cookbook
[chef.git] / hooks / pre-commit
index 7c7655e5db50430912c67d267acc583bbcb1d86d..cb7bc82d55348a9c92229c160e2cdf512b5c1282 100755 (executable)
@@ -3,7 +3,7 @@
 ok = true
 
 if IO.popen(["git", "ls-files", "--unmerged"]).read.empty?
-  need_stash = !IO.popen(%w(git diff)).read.empty?
+  need_stash = !IO.popen(%w[git diff]).read.empty?
 
   system("git", "stash", "save", "--keep-index", "--quiet") if need_stash