Support options in commit method
bopinto opened this issue · 2 comments
bopinto commented
Support the setters in http://download.eclipse.org/jgit/docs/jgit-2.0.0.201206130900-r/apidocs/org/eclipse/jgit/api/CommitCommand.html in RubyGit#commit
.
dometto commented
Good idea @Bl0p, thanks for chipping in. Implemented and spec'd this quickly. The options are named analogously to the jgit methods, e.g.:
repo.git.commit("Message", :all => true)
Except for the set_only
method, which I named :only_paths
, since that option should be an array to support the setting of multiple path filters. I hope this suits your needs, if you have any feedback I'll be glad to hear it.
bartkamphorst commented
Very cool!