diff options
author | karthik nayak <knayak@gitlab.com> | 2023-07-04 13:39:11 +0300 |
---|---|---|
committer | karthik nayak <knayak@gitlab.com> | 2023-07-04 13:39:11 +0300 |
commit | 862be195ba53e05e775bfc9f96a27a08d15659cb (patch) | |
tree | 76ea3ddcb679870251db70652c80e8c53103c2cf | |
parent | 6dac0d3b720261ef4f774f6727c1b74112809ffd (diff) | |
parent | 5cd40aec7eadcefc3d9952663327fde035b48a20 (diff) |
Merge branch 'pks-testrepo-skip-writing-reverse-index' into 'master'
Makefile: Fix test repository state depending on host Git version
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6010
Merged-by: karthik nayak <knayak@gitlab.com>
Approved-by: karthik nayak <knayak@gitlab.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -720,7 +720,8 @@ ${PROTOC_GEN_DOC}: TOOL_PACKAGE = github.com/pseudomuto/protoc-gen-doc/cmd/pr ${DELVE}: TOOL_PACKAGE = github.com/go-delve/delve/cmd/dlv ${TEST_REPO}: - ${GIT} clone --bare ${GIT_QUIET} https://gitlab.com/gitlab-org/gitlab-test.git $@ + # Skip writing the reverse index as otherwise our tests will get confused. + ${GIT} -c pack.writeReverseIndex=false clone --bare ${GIT_QUIET} https://gitlab.com/gitlab-org/gitlab-test.git $@ @ # Git notes aren't fetched by default with git clone ${GIT} -C $@ fetch ${GIT_QUIET} origin refs/notes/*:refs/notes/* ${Q}rm -rf $@/refs |