diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-07-16 13:40:52 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2019-07-16 13:40:52 +0300 |
commit | 491f3f7da7f313703ae7face37c580c3ae3e8ccd (patch) | |
tree | 79a8e95d00940d9aef6535614257ae68ad96cb3e | |
parent | 313a4cb5bd6d3b7f9927e3fcb5f60d4dd050e1d4 (diff) |
Include tags in simulated clone
-rw-r--r-- | cmd/gitaly-debug/simulatehttp.go | 2 |
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) { |