Why does the date/time of a Commit not match the date/time shown under Blame? #22251
-
Why does the date/time of a Commit not match the date/time shown under Blame? For Example: The Blame shows a Timestamp of (9 Years Ago) on 2011-10-29 10:39:58 If I then click the Commit itself, the timestamp is 2011-10-29 10:53:18 Why are these timestamps not identical? What is the difference between the two? Any help appreciated :slight_smile: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @amansaggu26 👋 How are you retrieving the dates for these? Please provide the steps so we can reproduce. |
Beta Was this translation helpful? Give feedback.
-
Here is what is likely happening. Git - Viewing the Commit History
The commit view shows when the content was committed, using the committer date. You can see both of these dates in full by providing appropriate options to Git log.
|
Beta Was this translation helpful? Give feedback.
-
Thanks. This is very helpful! 😃 |
Beta Was this translation helpful? Give feedback.
-
As a followup question, The following changes can be seen under blame The following changes can be seen under History Why are these two not shown under History? Why are these three not shown under Blame? … to say more simply, why does 7c1296b7b62b5a9c09668e1fd66817596d91e6d3 not show up under History? It was authored and committed, yet the commit doesnt appear BIP0012: Accepted -> Withdrawn. To be replaced by new proposal.
|
Beta Was this translation helpful? Give feedback.
Here is what is likely happening.
A Git commit will contain the name, email address and timestamp of two actors — the author, and the committer.
As per the Git - Viewing the Commit History info
git-scm.com
Git - Viewing the Commit History
The commit view shows when the content was committed, using the committer date.
The bla…