Permalink
Browse files

Merge pull request #15 from booo/master

fix for issue #14
  • Loading branch information...
2 parents 91f4c59 + 4733662 commit 7ec0c4bb626c2e7f513c880179a79e8c69cd81cf @jankeromnes jankeromnes committed Jun 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/git/repo.js
View
@@ -408,14 +408,14 @@ Repo.prototype.commit_stats = function(start, max_count, skip, callback) {
//
// Return true/false if commit worked
Repo.prototype.commit_index = function(message, callback) {
- this.git.commit({}, '-m', callback);
+ this.git.commit({}, '-m' + message, callback);
}
// Commits all tracked and modified files
//
// Return true/false if commit worked
Repo.prototype.commit_all = function(message, callback) {
- this.git.commit({}, '-a', '-m', callback);
+ this.git.commit({}, '-a', '-m' + message, callback);
}
// Fetch the config for the repo

0 comments on commit 7ec0c4b

Please sign in to comment.