Skip to content

Commit b882fa4

Browse files
committed
Add reference for Git magic hash for the empty tree
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent b505021 commit b882fa4

File tree

1 file changed

+1
-0
lines changed
  • vulnerabilities/importers

1 file changed

+1
-0
lines changed

vulnerabilities/importers/osv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ def get_fixed_versions_and_commits(
416416
continue
417417

418418
# Git uses this magic hash for the empty tree
419+
# See: http://colinschimmelfing.com/blog/gits-empty-tree/
419420
if introduced == "0":
420421
introduced = "4b825dc642cb6eb9a060e54bf8d69288fbee4904"
421422

0 commit comments

Comments
 (0)