diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-12 00:50:23 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-12 00:50:23 +0800 |
commit | 13801aac9ec8502b2df3160d61fe5d897891d793 (patch) | |
tree | dcb09722d3838d5b1d8aa32e50fe98c9b4fca846 /handle_repo_commit.go | |
parent | schema.sql: Fixes (diff) | |
download | forge-13801aac9ec8502b2df3160d61fe5d897891d793.tar.gz forge-13801aac9ec8502b2df3160d61fe5d897891d793.tar.zst forge-13801aac9ec8502b2df3160d61fe5d897891d793.zip |
repo_commit: Use /dev/null, not {a,b}/NULL, for empty files
Diffstat (limited to '')
-rw-r--r-- | handle_repo_commit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_repo_commit.go b/handle_repo_commit.go index af04d69..0570056 100644 --- a/handle_repo_commit.go +++ b/handle_repo_commit.go @@ -127,5 +127,5 @@ func (f fake_diff_file) Path() string { var fake_diff_file_null = fake_diff_file{ hash: plumbing.NewHash("e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"), mode: misc.First_or_panic(filemode.New("100644")), - path: "NULL", + path: "", } |