Thread (37 messages) flat view 37 messages, 12 authors, 2016-06-15

Re: git and time

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:42


On Wed, 27 Sep 2006, Matthew L Foster wrote:
quoted
When did the merge happen? It happened at 8:30 on my machine, and that's 
what is recorded. End of story. No ifs, buts, maybes about it. That's the 
only time you can _ever_ see for that merge.
Ok, so it's more complex because of the workflow issue of delayed/pseudo mirroring/replication
between private and public repos? This cloning/replication is not done through git?
No, it very much happened with git.

But git will _refuse_ to rewrite history. That means that if a commit says 
it happened at 8:30AM on machine X, git will _not_ rewrite history to say 
that it happened at 9:30AM on machine Y just because that's when it made 
it to that machine.
Are you saying it's impossible for master.kernel.org's git to track the 
local time of each commit/merge/replication?
No, I'm saying that that would be _lying_.

The actual action happened at 8:30. And git tracks only truth. It doesn't 
rewrite the truth afterwards.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help