repotag/rjgit

Support options in commit method

bopinto opened this issue · 2 comments

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.

Very cool!