
23 Jan
2008
23 Jan
'08
6:30 p.m.
On Wed, 23 Jan 2008 18:27:11 +0100 "Martin Krause" Martin.Krause@tqs.de wrote:
behind that was to be able to refere to one particular state in a git repository by one single commit ID. If I have two git repositories with de facto the same content, but with different commit IDs, what's the worth of the SHA1 commit ID?
You can still compare the commits. Just not the commit IDs.
How can I do that?
Use the SHA1 of the top-level tree instead of the commit. Or just use git diff.
Haavard