aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 10:33:17 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 10:33:17 +0800
commit06b5c66eccbb75f0d20f2d920487ef440ccc3e62 (patch)
tree04536a583f98c1bff26fec9e46023f3232e775b1 /http_handle_repo_commit.go
parentindex: Reformat the page (diff)
downloadforge-06b5c66eccbb75f0d20f2d920487ef440ccc3e62.tar.gz
forge-06b5c66eccbb75f0d20f2d920487ef440ccc3e62.tar.zst
forge-06b5c66eccbb75f0d20f2d920487ef440ccc3e62.zip
repo_commit: fake_diff_file_null has zero hash
Diffstat (limited to '')
-rw-r--r--http_handle_repo_commit.go2
1 files changed, 1 insertions, 1 deletions
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: "",
}