boonebgorges / wp-cli-git-helper

Git helper for wp-cli
35 stars 5 forks source link

Commit only added plugin files, not --all #5

Closed micahjon closed 8 years ago

micahjon commented 8 years ago

The second parameter of $repo->commit defaults to true, which adds the --all parameter to the subsequent git commit. This adds unstaged files in the current directory alongside the specified plugin files to the commit. This bug only shows up when using the wp gh command in a folder that contains unstaged tracked files that have been modified.