I am trying to get (statistical) commit information from a repo. I therefore did:
$ git clone remote/path/to/repo localrepo && cd localrepo
$ git pull
$ git show --since 'Oct-03-2014' --until 'Oct-13-2014' --shortstat
Generally, if there are commits during that period on the origin/master
branch (which I'm currently on), the last line of the above command will produce the nice summary output I want.
The problem is if the time period contains merges from a different branch. For those, git doesn't produce any kind of output (apparently merges don't contain diffs that can be shown).
So how can I get the nice --shortstat
summary that includes information about the merge diffs?