aboutsummaryrefslogtreecommitdiff
path: root/handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-12 00:50:23 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-12 00:50:23 +0800
commit13801aac9ec8502b2df3160d61fe5d897891d793 (patch)
treedcb09722d3838d5b1d8aa32e50fe98c9b4fca846 /handle_repo_commit.go
parentschema.sql: Fixes (diff)
downloadforge-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.go2
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: "",
}