Skip to content

Commit

Permalink
Add verbose log message pointing to sibling git dir
Browse files Browse the repository at this point in the history
Adds a log message showing the location of the directory where the actual git prepare is running (but only if `--verbose` is passed).

Might be useful for other users encountering git errors and not being able to reproduce/fix because they are not aware of the "sibling directory" being used. Like was the case here #20.
  • Loading branch information
bravo-kernel authored Mar 30, 2018
1 parent e225ed6 commit 4453fe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module.exports = {
},
prepare: function(context) {
var d = context.gitDeploy;
this.log("preparing git in " + d.worktreePath, { verbose: true });
return git.prepareTree(d.worktreePath, d.myRepo, d.repo, d.branch);
},
upload: function(context) {
Expand Down

0 comments on commit 4453fe5

Please sign in to comment.