rjgit
rjgit copied to clipboard
Support more options for RubyGit#log
RubyGit#log supports the following logging options:
- path filter
- skip
- max_count
However, JGit supports more. RubyGit#log should
- [x] be able to follow files across renames
- [ ] be able to traverse certain ranges of commits only
- [ ] be able to log for an array of refs
- [ ] be able to exclude some file paths
See http://download.eclipse.org/jgit/docs/latest/apidocs/
After looking into to this briefly, it seems that LogCommand's not(AnyObjectId start) method excludes refs, not file paths. Is that the functionality you want?
I think the ranges (and array of refs) should not be hard to wrap.
See also here for more on the --follow option in JGit.