title: How can I make git log order based on author's timestamp?
body: <p>I use a fairly complex <code>git-log</code> command involving <code>--date-order</code> to get an overview of my repository's status; but unfortunately, <code>--date-order</code> seems to use the <em>committer</em> date, not the <em>author</em> date. That means that each time I bring my topic branches up to date by rebasing them onto the current upstream, I lose the helpful chronological ordering in my <code>git-log</code> of relative commits in my topic branches (that is, each branch becomes a single long line, because all of its commits got rebased to sequential and nearly-identical committer timestamps.)</p>
  
  <p>If I could get <code>git-log</code> to order commits by the <em>author</em> timestamp instead of the <em>committer</em> timestamp, this would be solved. Does anybody know of a way to do that?</p>
  
  <hr>
  
  <p>For those visiting this from Google results, you may want to look into <a href="https://stackoverflow.com/users/990642/josephdpurcell">josephdpurcell</a>'s solution (and <a href="http://thesimplesynthesis.com/post/how-to-sort-git-commits-by-author-date/" rel="noreferrer">in-depth blog post</a>!), below. It's quite excellent, if you're looking for standard <code>git-log</code> style output, multi-line, with detailed messages about each commit.</p>
  
  <p>Unfortunate, I now need to amend this question, because I'm an idiot and didn't provide more specific information about my use-case: I use <code>git-log</code> in “<code>--graph</code> mode,” and I need to make <strong><code>git-log</code> itself</strong> operate in author-date-order. As far as I've been able to ascertain, this is completely impossible to do from outside <code>git-log</code>, because <code>git-log</code> <em>itself</em> handles the graph ordering and printing.</p>
  
  <p>A script, or patch for <code>git-log</code>, may be necessary, it seems. I'll leave this open until somebody can either 1. write such a script, or 2. we can talk the <code>git</code> authors into including a <code>--author --date-order</code> combination of flags. (=</p>
  
  <hr>
  
  <p>For reference, here's what my current <a href="https://github.com/elliottcable/System/blob/Master/Dotfiles/profile#L180-L189" rel="noreferrer"><code>glog</code> function</a>'s output looks like, and what I need to re-order:</p>
  
  <p><img src="https://i.stack.imgur.com/HUVAU.png" alt="glog output"></p>