From 088c229ec4e9aeb919cdc0e36ea6f0368f24f790 Mon Sep 17 00:00:00 2001
From: Sergey Matveev <stargrave@stargrave.org>
Date: Thu, 23 Mar 2023 13:59:22 +0300
Subject: [PATCH] Excess loop

---
 cmd/sgblog/http.go | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go
index c8365b6..58515d8 100644
--- a/cmd/sgblog/http.go
+++ b/cmd/sgblog/http.go
@@ -212,9 +212,7 @@ func serveHTTP() {
 		cfg.CommentsNotesRef,
 		cfg.CommentsEmail,
 	}
-	for _, gitURL := range cfg.GitURLs {
-		etagHashForWeb = append(etagHashForWeb, gitURL)
-	}
+	etagHashForWeb = append(etagHashForWeb, cfg.GitURLs...)
 
 	headHash, err := initRepo(cfg)
 	if err != nil {
-- 
2.51.0