aboutsummaryrefslogtreecommitdiffstats
path: root/changelog.js
diff options
context:
space:
mode:
authorIgor Minar2013-10-24 14:55:17 -0700
committerIgor Minar2013-10-24 15:09:30 -0700
commit1ae34aac811629df201c3d41d7976559cf7aaf5d (patch)
tree5b15c7a704862b7a10f264abf225803ffa5c4844 /changelog.js
parent82dec9b81e8e66d3fb63c3e7690b4bf5318dc65e (diff)
downloadangular.js-1ae34aac811629df201c3d41d7976559cf7aaf5d.tar.bz2
chore(validate-commit-msg.js): increase the max line limit for commit messages from 70 to 100
Diffstat (limited to 'changelog.js')
-rwxr-xr-xchangelog.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/changelog.js b/changelog.js
index 90ec01c4..b9a623f3 100755
--- a/changelog.js
+++ b/changelog.js
@@ -16,7 +16,6 @@ var LINK_ISSUE = '[#%s](https://github.com/angular/angular.js/issues/%s)';
var LINK_COMMIT = '[%s](https://github.com/angular/angular.js/commit/%s)';
var EMPTY_COMPONENT = '$$';
-var MAX_SUBJECT_LENGTH = 80;
var warn = function() {
@@ -54,11 +53,6 @@ var parseRawCommit = function(raw) {
return null;
}
- if (match[3].length > MAX_SUBJECT_LENGTH) {
- warn('Too long subject: %s %s', msg.hash, msg.subject);
- match[3] = match[3].substr(0, MAX_SUBJECT_LENGTH);
- }
-
msg.type = match[1];
msg.component = match[2];
msg.subject = match[3];