diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-06-09 18:43:51 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-06-14 08:52:34 +0300 |
commit | 68195ae01164e62e3d92156ec84e09c7416e3f94 (patch) | |
tree | 47243c8520b7d9af7f9dee755bf66a3fda5026cd /.golangci.yml | |
parent | d785451259398be9fbf1b053f76f98ba13f7b478 (diff) |
stats: Move wants refs from GET to POST
When doing a POST to git-upload-pack(1), then we send along a set of
"want"s which tell the remote side which references we want to receive.
So while this depends on us knowing which references exist in the first
place, it still is inarguably a property of the POST and not of the GET
which discovers available refs.
Let's make the relation more explicit by 1. moving wants into the `Post`
structure and 2. accepting announced references as parameter when doing
the post.
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml index 9ed865be8..d6475eb0e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -290,10 +290,6 @@ issues: - linters: - golint path: "internal/git/stats/analyzehttp.go" - text: "exported method `Clone.RefsWanted` should have comment or be unexported" - - linters: - - golint - path: "internal/git/stats/analyzehttp.go" text: "exported type `Get` should have comment or be unexported" - linters: - golint |