shithub: furgit

Download patch

ref: b4942b77dfc53ec0891b807296ba88d25b416ee9
parent: 89e2abdc02e39d81aa7905f4d470dfeaddd090a7
author: Runxi Yu <me@runxiyu.org>
date: Fri Jan 30 05:17:40 EST 2026

tree: Remove implementation-detail documentation

--- a/obj_tree.go
+++ b/obj_tree.go
@@ -260,9 +260,6 @@
 }
 
 // TreeEntryNameCompare compares names using Git's tree ordering rules.
-//
-// If an entry or search name is a tree, it is compared as if it has a trailing
-// '/'.
 func TreeEntryNameCompare(entryName []byte, entryMode FileMode, searchName []byte, searchIsTree bool) int {
 	isEntryTree := entryMode == FileModeDir
 
--