Skip to content

Commit c9ed3fa

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

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
@@ -422,6 +422,7 @@ def get_fixed_versions_and_commits(
422422
continue
423423

424424
# Git uses this magic hash for the empty tree
425+
# See: http://colinschimmelfing.com/blog/gits-empty-tree/
425426
if introduced == "0":
426427
introduced = "4b825dc642cb6eb9a060e54bf8d69288fbee4904"
427428

0 commit comments

Comments
 (0)