Skip to content

Commit ccb917b

Browse files
committed
Add warning about different hashes
I think it is better to warn reader that commit/tag hashes in 10th chapter are different from what he/she will get. Other hashes (of blobs and trees) are identical so reader can think that he has done something wrong
1 parent 2309d87 commit ccb917b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

book/10-git-internals/sections/objects.asc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ $ echo 'first commit' | git commit-tree d8329f
242242
fdf4fc3344e67ab068f836878b6c4951e3b15f3d
243243
----
244244

245+
You will get another hash value because of different creation time and author data.
246+
Replace commit and tag hashes with your own checksums further in this chapter.
245247
Now you can look at your new commit object with `cat-file`:
246248

247249
[source,console]

0 commit comments

Comments
 (0)