aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-21 15:41:42 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-21 15:41:42 +0800
commit9bebe3f1e6c340e5132ee4053c65dcad74328c42 (patch)
tree22a7e9c215e70c668474a3919b10f877dbc06b28 /http_handle_repo_commit.go
parentRename httpRouter (diff)
downloadforge-9bebe3f1e6c340e5132ee4053c65dcad74328c42.tar.gz
forge-9bebe3f1e6c340e5132ee4053c65dcad74328c42.tar.zst
forge-9bebe3f1e6c340e5132ee4053c65dcad74328c42.zip
Bump dependencies
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 2f0fa51..94aa85d 100644
--- a/http_handle_repo_commit.go
+++ b/http_handle_repo_commit.go
@@ -99,7 +99,7 @@ func (f fakeDiffFile) Path() string {
var nullFakeDiffFile = fakeDiffFile{
hash: plumbing.NewHash("0000000000000000000000000000000000000000"),
- mode: misc.First_or_panic(filemode.New("100644")),
+ mode: misc.FirstOrPanic(filemode.New("100644")),
path: "",
}