kevinsawicki / gitective

Find the Git commits you're looking for
http://gitective.org
117 stars 53 forks source link

Find all git commits between 2 dates #6

Open vmassol opened 12 years ago

vmassol commented 12 years ago

Hi,

First, thank you for this nice project. Very useful! I've integrated it with XWiki: http://extensions.xwiki.org/xwiki/bin/view/Extension/Git+Module

I looked for a mailing list to ask questions but couldn't find any so I'm posting here (I know it's not the right place but that's the best I could fathom).

So my question is: is there a way to get all commits that happened between 2 dates. I can easily find all commits that happened since a given date but not between 2 dates.

Thanks a lot -Vincent

kevinsawicki commented 12 years ago

There isn't currently a built-in utility for this.

You could write your own filter that skips over commits until a certain date is reached though.

JGit doesn't currently support the flexible date options when looking up commits that git-log has.

vmassol commented 12 years ago

ok thanks for the answer. Too bad. Hope this can be added in some future! :) (yeah, I know, I could just do a pull request... :))