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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-10-26 18:06:26 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-10-26 18:06:26 +0300
commit70a5b5e99d457ea7cf94dbfff5e9b4837bcc356f (patch)
treea1f1ffe85ae33923c24ea088008aba1448a87a6d
parent156e65d1de93e779091a0915cf77b2aefa85fadf (diff)
parent3cd48d5756b71b0d7eff5c84d21243ff7849f8b3 (diff)
Merge branch 'accept-empty-GIT_VERSION' into 'master'
Accept `GIT_VERSION=` environment variable See merge request gitlab-org/gitaly!4010
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dc3f869bf..3d7c00d72 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ LIBGIT2_VERSION ?= v1.2.0
# Support both vX.Y.Z and X.Y.Z version patterns, since callers across
# GitLab use both.
-ifeq ($(origin GIT_VERSION),undefined)
+ifeq ($(GIT_VERSION),)
GIT_VERSION := v2.33.1
else
GIT_VERSION := $(shell echo ${GIT_VERSION} | awk '/^[0-9]\.[0-9]+\.[0-9]+$$/ { printf "v" } { print $$1 }')