> From: John Fisher <fishook2...@gmail.com>
> I still don't understand what the commit-SHA given out by git ls-tree is
> for? If it doesn't correspond to a commit on the file as seen in git log,
> what's it used for?
The *commit* has a SHA, and that is what is listed in the git-log
entry for the commit.
The commit points to a *file tree*, which has its own SHA.
The file tree points to all of the *file objects", each of which has
its own SHA.
Every commit contains the complete set of files that are in the file
tree at the moment the commit is made.
git-ls-tree, when given the SHA of a commit, lists the SHAs of the
file objects pointed to by the file tree that is pointed to by the
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
For more options, visit https://groups.google.com/d/optout.