chore: silence testpackage linter with explanation

Amolith and Crush created

Co-Authored-By: Crush <crush@charm.land>

Change summary

git/git_test.go | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Detailed changes

git/git_test.go 🔗

@@ -2,7 +2,10 @@
 //
 // SPDX-License-Identifier: Apache-2.0
 
-package git
+// Using package git instead of git_test to test unexported stringifyRepo function.
+// This function contains complex URL parsing logic that warrants direct testing,
+// and testing through the (current) public API would require external network requests.
+package git //nolint:testpackage
 
 import (
 	"testing"