()
| 29 | |
| 30 | |
| 31 | var error = function() { |
| 32 | // gitx does not display it |
| 33 | // http://gitx.lighthouseapp.com/projects/17830/tickets/294-feature-display-hook-error-message-when-hook-fails |
| 34 | // https://groups.google.com/group/gitx/browse_thread/thread/a03bcab60844b812 |
| 35 | console.error('INVALID COMMIT MSG: ' + util.format.apply(null, arguments)); |
| 36 | }; |
| 37 | |
| 38 | |
| 39 | var validateMessage = function(message) { |