lib/pre-commit/pre-commit-base.js
function isIgnored(file) {
	return ignorePatterns.some(function(pattern) {
		return minimatch(file, pattern, {
			nocase : true,
			matchBase : true
		});
	});
}
function isIgnored(file) {
	return ignorePatterns.some(function(pattern) {
		return minimatch(file, pattern, {
			nocase : true,
			matchBase : true
		});
	});
}
Check if a filename matches an ignore pattern
@param {String} file
@returns {Boolean}