Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2019-07-16 13:40:52 +0300
committerJacob Vosmaer <jacob@gitlab.com>2019-07-16 13:40:52 +0300
commit491f3f7da7f313703ae7face37c580c3ae3e8ccd (patch)
tree79a8e95d00940d9aef6535614257ae68ad96cb3e
parent313a4cb5bd6d3b7f9927e3fcb5f60d4dd050e1d4 (diff)
Include tags in simulated clone
-rw-r--r--cmd/gitaly-debug/simulatehttp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitaly-debug/simulatehttp.go b/cmd/gitaly-debug/simulatehttp.go
index 31b3766fc..020356224 100644
--- a/cmd/gitaly-debug/simulatehttp.go
+++ b/cmd/gitaly-debug/simulatehttp.go
@@ -38,7 +38,7 @@ func simulateHTTPClone(gitDir string) {
}
request := &bytes.Buffer{}
- refsHeads := regexp.MustCompile(`^[a-f0-9]{44} refs/heads/`)
+ refsHeads := regexp.MustCompile(`^[a-f0-9]{44} refs/(heads|tags)/`)
firstLine := true
for _, line := range infoLines {
if !refsHeads.MatchString(line) {