lib/git.rb in yac-1.4.1 vs lib/git.rb in yac-1.4.2

- old
+ new

@@ -32,11 +32,11 @@ def rm(file) system("git rm -f '#{file}'") self.commit("#{cleanup_name(file)} Removed") end - def commit(msg,*args) - system("git commit #{args.to_s} -m '#{msg}' >/dev/null") + def commit(msg,args='') + system("git commit #{args} -m '#{msg}' >/dev/null") end def cleanup_name(f) return f.sub(/^(.*)?\/(main|private)\/(.*)/,'\3').sub(/^@/,'') end