Hi to all,

I'd like to know how git restore files when checkout is executed.
For each commit git knows the diff (added and deleted lines) with the 
parent commit. If git use only diff it must start from the init and go 
forward until the current commit. This solution could be very slowly. I 
suppose git use different approach for calculating the content of a file in 
a given commit.

Can someone explain how checkout works?



You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to