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:
authorkarthik nayak <knayak@gitlab.com>2023-07-04 13:39:11 +0300
committerkarthik nayak <knayak@gitlab.com>2023-07-04 13:39:11 +0300
commit862be195ba53e05e775bfc9f96a27a08d15659cb (patch)
tree76ea3ddcb679870251db70652c80e8c53103c2cf
parent6dac0d3b720261ef4f774f6727c1b74112809ffd (diff)
parent5cd40aec7eadcefc3d9952663327fde035b48a20 (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--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed9b6ec15..24ba59c41 100644
--- a/Makefile
+++ b/Makefile
@@ -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