From 6f5e22e764283262ae8c6519bb030766db0fd35b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 6 Apr 2025 09:58:02 +0800 Subject: Add more documentation comments --- forged/internal/oldgit/patch.go | 1 + 1 file changed, 1 insertion(+) (limited to 'forged/internal/oldgit/patch.go') diff --git a/forged/internal/oldgit/patch.go b/forged/internal/oldgit/patch.go index 30bf8e8..fc8ef98 100644 --- a/forged/internal/oldgit/patch.go +++ b/forged/internal/oldgit/patch.go @@ -39,4 +39,5 @@ func CommitToPatch(commit *object.Commit) (parentCommitHash plumbing.Hash, patch return } +// NullTree is a tree object that is empty and has no hash. var NullTree object.Tree //nolint:gochecknoglobals -- cgit v1.2.3