From 15184289c033f204635b6aa57708cdf6781b98a4 Mon Sep 17 00:00:00 2001
From: Rutger Broekhoff
Date: Fri, 29 Dec 2023 23:41:25 +0100
Subject: Log reqPath 2x more

---
 cmd/git-lfs-server/main.go | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'cmd/git-lfs-server')

diff --git a/cmd/git-lfs-server/main.go b/cmd/git-lfs-server/main.go
index 19a0747..2b75b3d 100644
--- a/cmd/git-lfs-server/main.go
+++ b/cmd/git-lfs-server/main.go
@@ -207,7 +207,9 @@ func (h *handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
 	if reqPath == "" {
 		reqPath = r.URL.Path
 	}
+	log("reqPath: %s", reqPath)
 	reqPath = strings.TrimPrefix("/", path.Clean(reqPath))
+	log("Cleaned reqPath: %s", reqPath)
 	submatches := re.FindStringSubmatch(reqPath)
 	if len(submatches) != 2 {
 		log("Got path: %s, did not match regex", reqPath)
-- 
cgit v1.2.3