Skip to content

Commit

Permalink
Making --format the default action; removing -b git diff flag to incl…
Browse files Browse the repository at this point in the history
…ude whitespace changes
  • Loading branch information
jimfleming committed May 12, 2014
1 parent 127109c commit 96807dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var argv = require('minimist')(process.argv.slice(2), {
'default': {
comments: true,
diff: false,
format: false,
format: true,
list: false,
write: false,
},
Expand Down Expand Up @@ -53,7 +53,7 @@ if (argv.help || (!argv.format && !argv.search && !argv.rewrite)) {

function diff(pathA, pathB, callback) {
child_process.exec([
'git', 'diff', '--ignore-space-at-eol', '-b', '--no-index', '--', pathA, pathB
'git', 'diff', '--ignore-space-at-eol', '--no-index', '--', pathA, pathB
].join(' '), callback);
}

Expand Down

0 comments on commit 96807dd

Please sign in to comment.