Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can authored-at dates be shown in log view?

Gabe da Silveira July 16, 2012

In git it is quite a common workflow to rebase local work or even topic branches at the time of merging. In doing so, SourceTree ends up showing the commit date instead of the authored date such as you see normally in git-log or gitk. The rebase date is of little practical use and also very easy to infer, whereas author date is much more useful. Is there a setting to switch this somewhere?

here's a screenshot illustrating the issue:

https://skitch.com/e-dasil003/e8rhj/ma-git

1 answer

0 votes
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2012

The main reason the commit date is used is because git is inconsistent: when you search for a date range (git log --since for example), the commit date is always used, not the author date. Therefore using the author date would make the results look wrong.

Two options have been considered so far: an option in Preferences (although this is likely to raise th above issue), or simply adding the author date to the commit details pane when it differs from the commit date. Discussion is here: https://jira.atlassian.com/browse/SRCTREE-779

Gabe da Silveira July 16, 2012

Thanks mate, I posted my diatribe there ;)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events