bin/hooks/post-merge in overcommit-0.1.6 vs bin/hooks/post-merge in overcommit-0.1.7

- old
+ new

@@ -7,15 +7,15 @@ # Submodules that are not updated start with a + in the submodule status # output. if line.match(/^\+/) # The second word is the submodule directory. - updated_submodules << line.split(" ")[1] + updated_submodules << line.split(' ')[1] end end if updated_submodules.length > 0 - puts "The following git submodules are out of date:" + puts 'The following git submodules are out of date:' updated_submodules.each do |submodule| puts "\t#{submodule}" end puts puts "Suggest: 'git submodule update'."