cmd/sgblog/http.go | 4 +--- diff --git a/cmd/sgblog/http.go b/cmd/sgblog/http.go index 1cf364209ae6b745017a4fef3aafd7a4e2e88137c65f16303ec9f889de0332cc..bcc7d501162dced51f1effb14561dcc2f885c4e93294bad5510090be410182bd 100644 --- a/cmd/sgblog/http.go +++ b/cmd/sgblog/http.go @@ -212,9 +212,7 @@ cfg.AboutURL, 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 {