code: function trimCommitMessage(message) {
  		var splitted = message.split(/\r\n|\n/);
  		var iterator = 0;
  		
  		while(splitted.length > 0 && /^\s*$/.test(splitted[iterator])) {
  			iterator++;
  		}
  		var maxMessageLength = 100;
  		if (splitted[iterator].length > maxMessageLength) return splitted[iterator].substring(0,maxMessageLength);
  		return splitted[iterator];
  	}
docs: Trims messages, skips empty lines until non-empty one is found