diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-06 09:58:02 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-06 09:58:02 +0800 |
commit | 6f5e22e764283262ae8c6519bb030766db0fd35b (patch) | |
tree | c56038bd7b5dc31d5bae5dd6e323688725c5262e /forged/internal/oldgit/patch.go | |
parent | Fix load ordering issue that causes the forge title to disappear (diff) | |
download | forge-6f5e22e764283262ae8c6519bb030766db0fd35b.tar.gz forge-6f5e22e764283262ae8c6519bb030766db0fd35b.tar.zst forge-6f5e22e764283262ae8c6519bb030766db0fd35b.zip |
Add more documentation comments
Diffstat (limited to 'forged/internal/oldgit/patch.go')
-rw-r--r-- | forged/internal/oldgit/patch.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |