tig icon indicating copy to clipboard operation
tig copied to clipboard

Author date / commit date confusion

Open chirayuk opened this issue 10 years ago • 5 comments

The main view displays the "Author Date" (though all the documentation for tig and tigrc refers to it as the "Commit Date".)  I would really like to see the actual Commit Date. I assume that it isn't supported (I didn't see an option for it – I just built a fresh tig from source.)  The Commit Date is super helpful when scanning the upstream log to see which breaking commits are newer and and require rebase attention.  (I missed a conflicting commit because I thought I had already rebased on it.)  I would love to see some support this.

chirayuk avatar May 22 '14 02:05 chirayuk

It will probably take some considerable work to upgrade all views to support both commit and author dates. In the mean time the docs should be updated to use "author date" instead of "commit date".

jonas avatar May 23 '14 04:05 jonas

Thanks for looking into it.  I feared as much by poking around the code.  I love tig so thanks for this wonderful tool!  (And if there's a quick hack you can describe for a personal fork that always uses the commit date instead of the author date, I'm happy to hack and use it. Otherwise, feel free to close the issue.) 

chirayuk avatar May 24 '14 17:05 chirayuk

Looks like there's an open PR to address this: https://github.com/jonas/tig/pull/810

natemccurdy avatar Dec 11 '20 18:12 natemccurdy

It would be great to toggle between the author and commit date. Especially in the tig reflog view the commit date would be more valuable than the author date.

jremus avatar Apr 09 '24 08:04 jremus