Skip to content

Commit a1d926d

Browse files
authored
Merge pull request progit#1424 from Smaug123/hash-note
2 parents 812855b + 2c0769d commit a1d926d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,14 @@ $ echo 'First commit' | git commit-tree d8329f
257257
fdf4fc3344e67ab068f836878b6c4951e3b15f3d
258258
----
259259

260+
261+
[NOTE]
262+
====
260263
You will get a different hash value because of different creation time and author data.
264+
Moreover, while in principle any commit object can be reproduced precisely given that data, historical details of this book's construction mean that the printed commit hashes might not correspond to the given commits.
261265
Replace commit and tag hashes with your own checksums further in this chapter.
266+
====
267+
262268
Now you can look at your new commit object with `git cat-file`:
263269

264270
[source,console]

0 commit comments

Comments
 (0)