From 06b5c66eccbb75f0d20f2d920487ef440ccc3e62 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 10:33:17 +0800 Subject: repo_commit: fake_diff_file_null has zero hash --- http_handle_repo_commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index fe65756..25f1331 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -105,7 +105,7 @@ func (f fake_diff_file) Path() string { } var fake_diff_file_null = fake_diff_file{ - hash: plumbing.NewHash("e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"), + hash: plumbing.NewHash("0000000000000000000000000000000000000000"), mode: misc.First_or_panic(filemode.New("100644")), path: "", } -- cgit v1.2.3