Skip to content

Commit

Permalink
fix(git log): Ignores letter case
Browse files Browse the repository at this point in the history
Closes #54
  • Loading branch information
rafinskipg committed Jul 29, 2016
1 parent 31d1389 commit d4cff0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/lib/get-gitlog-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var debug = require('debug')('changelog:getGitLogCommands');

function getGitLogCommands() {
debug('getting log commands');
this.cmd.gitLog = 'git log --grep="%s" -E --format=%s %s..' + (this.options.branch ? this.options.branch : 'HEAD');
this.cmd.gitLogNoTag = 'git log ' + this.options.branch + ' --grep="%s" -E --format=%s';
this.cmd.gitLog = 'git log --grep="%s" -i -E --format=%s %s..' + (this.options.branch ? this.options.branch : 'HEAD');
this.cmd.gitLogNoTag = 'git log ' + this.options.branch + ' --grep="%s" -i -E --format=%s';
}

module.exports = getGitLogCommands;

0 comments on commit d4cff0a

Please sign in to comment.